![]() Preserved Topic: mysql/php: table insert problem (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() im using this code for a guestbook on my site: code: <?php
|
Paranoid (IV) Inmate From: Lebanon |
![]() mysql_query("INSERT INTO guests(guest_name, guest_email, guest_message) VALUES ('$fname','$femail','$fmessage')") |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() i already tried that, but it makes no difference. |
Neurotic (0) Inmate Newly admitted |
![]() the form tag is incorrect..."name" will be read as the variable name, not "value"...value corresponds to what is initially written inside the form field... |
Paranoid (IV) Inmate From: Lebanon |
![]() Yes, timothy saw the real problem... |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Hmm I'm interested this sorta worked at all. I always have all sorts of problems when variables are not set. It seems with the problem with the form this should break before doing the insert. |