Having trouble with PHP

This is a discussion on "Having trouble with PHP" within the PHP Forum section. This forum, and the thread "Having trouble with PHP are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 19th, 2007, 13:28
Junior Member
Join Date: Feb 2007
Location: Baltimore, MD
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to voodoo465 Send a message via Yahoo to voodoo465
Having trouble with PHP

Hello everyone, I am new to this.

I have to design a template for a time sheet that has to be changed by an external user every week. I would like to have the times be editable and post a new one every week, however, the older ones would need to stay up as well. They also need to be printable. I have a PDF of what it needs to look like that is attached to this. The editable areas are in red. I was told this can be done with a simple PHP script, however I am very new to PHP and my attempts to understand it so far have been unsuccesful. If anyone can help me do this, or point me in the right direction please let me know, Thank You.
Attached Files
File Type: pdf Rundownexample.pdf (80.5 KB, 49 views)
Reply With Quote

  #2 (permalink)  
Old Feb 20th, 2007, 09:47
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Having trouble with PHP

Your going to have to explain what you want in a little more detail tbh ......

1) is this to go on a webserver?
2) do you need to have it password protected / secure?

And anything else you need aswell ........ from what youve said allready it looks like your going to need a database. But, i dont want to tell you what to do till i understand more.

Sorry i cant be more help.
Reply With Quote
  #3 (permalink)  
Old Feb 20th, 2007, 12:17
Junior Member
Join Date: Feb 2007
Location: Baltimore, MD
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to voodoo465 Send a message via Yahoo to voodoo465
Re: Having trouble with PHP

Thank you for your reply. Yes this would be going on a web server. I think that it would need to have a password even though there would only really be 2 people beside myself accessing it. Basically, it is for a television company. Each week we need to post rundowns of the shows, saying the times of each segent and the names. These are the parts that would need to be editable. These would then go to the stations to look at or print out. The thing is, the previous weeks would need to stay up as well, in case anyone needs to access them.

let me know what you think. I attached a PDF of what it needs to look like with the editable fields written in red.

Thank You
Attached Files
File Type: pdf Rundownexample.pdf (80.5 KB, 22 views)
Reply With Quote
  #4 (permalink)  
Old Feb 20th, 2007, 21:25
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Having trouble with PHP

I cant help with the formatting, or printing aspect ... allthough im sure someone here could.

but, you could definatly create a secure area in which you can modyfy a database containing all your info, from as far back as you needed via a series of html forms.

You could have this displayed in any way that your design ability allows, and i presume if you size it correctly it would print aswell.

Basically this could be done usine php and MySql as far as i can see, the things you need to read up on are as follows:

1) Basic Php Syntax
2) Basic SQL syntax
3) Php sessions
4) HTML forms and the $_POST & $_GET variables.
5) Using php to interface with a mysql database.

Its alot to learn, assuming you have no previous knowledge, not particulary difficult, but it requires some dedication and time.
Reply With Quote
  #5 (permalink)  
Old Feb 20th, 2007, 21:37
Junior Member
Join Date: Feb 2007
Location: Baltimore, MD
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to voodoo465 Send a message via Yahoo to voodoo465
Re: Having trouble with PHP

Wow, thanks, I have been trying toi read up on PHP but I am a very beginner programmer, now I know what to focus on though, thanks for all of your help
Reply With Quote
  #6 (permalink)  
Old Feb 20th, 2007, 21:47
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Having trouble with PHP

when you get stuck, post your code and we can try and help.

If your anything like me, the hardest bit will be actually understanding how mysql works .... once the penny drops you'll kick yourself though.
Reply With Quote
Reply

Tags
php help

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
css navigation bar trouble danny322 Web Page Design 7 Dec 17th, 2007 14:47
Trouble with onLoadError Darren Spidell Flash & Multimedia Forum 0 Apr 2nd, 2007 14:39
Having Trouble with Formmail.php fireboat PHP Forum 2 Mar 18th, 2007 07:42
Browser trouble? sheltomlee Starting Out 4 Jan 28th, 2007 21:47
CGI Trouble Maverick25r Other Programming Languages 0 Jul 31st, 2006 18:24


All times are GMT. The time now is 05:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43