following the tutorial but... result is different

Codes here !

Moderators: egami, macek, gesf

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

Tue Apr 22, 2003 10:11 am

Hi,

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

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

try

$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
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

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
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests