Discussion Locked

PHP Help for Newbie

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Okay, I'm trying to learn PHP and am having some trouble. What I really want to focus on is using HTML forms with PHP to manage MySQL databases...simple, huh?

I am reading the book "PHP Essentials" an cannot get any of the code to work. For instance, I have a very simple MySQL database with a table that contains 9 fields of information about books. I am attempting to add records to the db via a form.

Here is part of the code I am using:

2 replies

by jay eckles

Have you looked at a script called phpMyAdmin? (http://phpmyadmin.sourceforge.net)

It's a web-based administration program for MySQL written in PHP. I enjoy using it quite a bit. For you, it can either serve as the web-based administration you're looking for, or if you just want to write your own for educational purposes, the code in phpMyAdmin could certainly help you get past the trouble you're experiencing.

Good luck.

Jay
www.jayeckles.com

by ldyne

Thanks, Jay. I am using phpMyAdmim now to manage my database, but I do want to learn how to use HTML forms with PHP to do it as well. I will take a look at the phpMyAdmim code, though, and see if that helps.

Thanks!

This discussion is closed to new replies.