PHP/MySQL question can anybody help please?

Asap

New member
Okay, I'm new to code in general, (HTML, CSS, etc) And I've recently been creating a website. It looks good so far with the HTML and CSS part, but I want to add some PHP for a social networking site. Except I have no idea how to use PHPMyAdmin or MySQL, but my web host comes with both. So could anyone give me a link to to tutorial on how to use this and make user accounts / registering for the site possible? Thanks.

-asap
 
The "PHPMyAdmin" and "MySQL" GUI interfaces will allow you to change your settings and setup databases. However these tools are used simply as an aid and you don't really need them.

Now to answer your question in respects to using PHP you'll need to change the extension on your file from HTML / HTM / CSS to PHP. Then start your PHP file with <?php and end it with ?>. What this does is let the PHP parser on the webserver know that the contents within those markers is PHP code.

Honestly what I would do is go to the bookstore or download off bitTorrent "PHP in a Nutshell" by Paul Hudson. It gives you a good understanding of how the PHP programming language works. However if you don't already understand the basic fundamentals of coding then this reference book may be too advanced. Check out sf.net for tons of PHP written web applications.

If you're not interested in learning how to code in PHP and just want to eject social networking gadgets into your site I would Google for those specific tools and PHP.

Good luck,
Rick
 
Back
Top