Jump to content


Photo

PHP Beginner - Dynamic Website


  • Please log in to reply
3 replies to this topic

#1 hicksjt

hicksjt
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 26 October 2006 - 03:07 PM

I’m looking for some guidance on implementing PHP into a website. By no means am I a coder or hardcore programmer, merely someone who can do the basics with the language. At the most, it would be something like the “hello world” in every example of a beginner PHP book. I was curious if PHP would be a better choice in my situation.

I am going to build a CSS based website. Once it’s finished the plan is to hand the site off to a non-technical user where they can add text content themselves. It doesn’t have to be complicated but enough to where I can show them how to update the website. Probably the most information that will be changed is a simple 500 word paragraph.

Any additional content such as an image or a complete site overhaul I would come in and create myself, so updating content that way wouldn’t be a big issue. I have thought about installing a content management system but I believe with 6 web pages and for my purposes (as mentioned above) it would be overkill.

Any advice or feedback would greatly be appreciated.


#2 SpeedBird

SpeedBird
  • Members
  • PipPip
  • Member
  • 12 posts
  • LocationBirmingham, England

Posted 26 October 2006 - 03:19 PM

Here are some good starting places:

The PHP manual: http://www.php.net/manual/en/

The MySQL manual (assuming you will be storing the information in a database): http://dev.mysql.com...0/en/index.html

A quick tutorial on using PHP & MySQL together

And if you want a book, PHP & MySQL For Dummies.

That's pretty much what I use.
Why is there always so much month left at the end of the money?

#3 php_joe

php_joe
  • Members
  • PipPipPip
  • Advanced Member
  • 175 posts

Posted 26 October 2006 - 03:27 PM

It sounds like you're asking if PHP or CSS is better?

You can use them together. I'm a big fan of PHP. If you are making a webpage for a "non-technical user" you can even use the nl2br() function to allow the user to enter their text in a text file (without any code required) and the PHP will add the html break at each line break.

Joe
[url=http://darkswordsguide.com][/url]

#4 hicksjt

hicksjt
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 26 October 2006 - 04:49 PM

It sounds like you're asking if PHP or CSS is better?

Here are some good starting places:

The PHP manual: http://www.php.net/manual/en/

The MySQL manual (assuming you will be storing the information in a database): http://dev.mysql.com...0/en/index.html

A quick tutorial on using PHP & MySQL together

And if you want a book, PHP & MySQL For Dummies.

That's pretty much what I use.


Joe


SpeedBird, thank you very much for the references. I will check them out.

php_joe, I wasn't asking if PHP or CSS is better, I was building a website with CSS and going to use PHP as the back-end  :) If all the user does is type some text into a text file and let PHP do the rest than that's exactly what I'm looking to do. Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users