Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
Change to $HTTP_POST_VARS["$newid"]
If it doesn't work, the I suspect you are inserting in the wrong order.
To insert records you have to follow the same order as it is in the database.
- Code: Select all
$sql= "INSERT INTO ".$table." VALUES ( NULL,'$name','$comment', NULL,'$url',0, '$my_date' )";
- Posts: 387
- Joined: Sat Aug 03, 2002 2:56 am
- Location: Mars
Return to PHP coding => General
Who is online
Users browsing this forum: Google [Bot] and 1 guest