Jump to content

PHP Beginner - Dynamic Website


hicksjt

Recommended Posts

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 [i]better [/i]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.
Link to comment
Share on other sites

Here are some good starting places:

The PHP manual: [url=http://www.php.net/manual/en/]http://www.php.net/manual/en/[/url]

The MySQL manual (assuming you will be storing the information in a database): [url=http://dev.mysql.com/doc/refman/5.0/en/index.html]http://dev.mysql.com/doc/refman/5.0/en/index.html[/url]

A quick tutorial on using [url=http://www.freewebmasterhelp.com/tutorials/phpmysql]PHP & MySQL[/url] together

And if you want a book, [url=http://www.amazon.com/MySQL-Dummies-CDROM-Janet-Valade/dp/0764516507]PHP & MySQL For Dummies.[/url]

That's pretty much what I use.
Link to comment
Share on other sites

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 [b]nl2br()[/b] 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
Link to comment
Share on other sites

[quote author=php_joe link=topic=112807.msg458004#msg458004 date=1161876469]
It sounds like you're asking if PHP or CSS is better? [quote author=SpeedBird link=topic=112807.msg457998#msg457998 date=1161875963]
Here are some good starting places:

The PHP manual: [url=http://www.php.net/manual/en/]http://www.php.net/manual/en/[/url]

The MySQL manual (assuming you will be storing the information in a database): [url=http://dev.mysql.com/doc/refman/5.0/en/index.html]http://dev.mysql.com/doc/refman/5.0/en/index.html[/url]

A quick tutorial on using [url=http://www.freewebmasterhelp.com/tutorials/phpmysql]PHP & MySQL[/url] together

And if you want a book, [url=http://www.amazon.com/MySQL-Dummies-CDROM-Janet-Valade/dp/0764516507]PHP & MySQL For Dummies.[/url]

That's pretty much what I use.
[/quote]

Joe
[/quote]

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.