following the tutorial but... result is different

Codes here !

Moderators: macek, egami, gesf

Post Reply
php-forum Active User
php-forum Active User
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada

Post by liquedus » Tue Apr 22, 2003 10:11 am


Thats quite a bit of code my eyes hurt 8O ... anyways

$db = mysql_connect("localhost", "root");


$db = mysql_connect("localhost","root","yourPassword");

..... next

if($submit) ..... use instead

if(isset($_GET['submit'])) or if(isset($_POST['submit'))

depending on how your form submits the info... for a beginner I would not do that tutorial, I've read it before.... but rather I would go pick up a PHP book and read the whole thing. Thats all i can offer now, cause im a little busy...

User avatar
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Post by Redcircle » Tue Apr 29, 2003 2:54 am

Sorry to say but that tutorial is outdated. See the stickies in the General PHP forum about why forms do not work.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest