Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
- Posts: 387
- Joined: Sat Aug 03, 2002 2:56 am
- Location: Mars
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' )";
Who is online
Users browsing this forum: Baidu [Spider] and 1 guest