note 85487 added to function.mysql-insert-id
| From: | singularity dot javid at gmail dot com | Date: | Tue, 02 Sep 2008 11:14:28 +0000 |
| Subject: | note 85487 added to function.mysql-insert-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144070@lists.php.net to get a copy of this message | ||
I cant understand where I am wrong here;
$con = mysql_connect("asokapapers.com","asokapa",
"t0stings0rv0r");
if (!$con)
{
die('Could not connect: '.mysql_error());
}
mysql_select_db("asokapa_javid", $con);
mysql_query("INSERT INTO events (id, userid, title,details,startdate,enddate,additionaldates,
starttime,endtime,location,imagelink,
imagelabel,imagelayoutid,
attachmentlink,attachmentlabel,activationdate,
expirationdate)
VALUES ('1', '2', 'sample2''details2','12-02-08',
'12-09-09','11-09-08','11-06-56','12-08-24','bangalore1',
'imagelink2',
'imagelabel2','2','attachmentlink2','attachmentlabel2',
'17-09-08',''19-11-08)");
----
Server IP: 59.162.86.33
Probable Submitter: 164.164.32.102
----
Manual Page -- http://www.php.net/manual/en/function.mysql-insert-id.php
Edit -- https://master.php.net/note/edit/85487
Del: integrated -- https://master.php.net/note/delete/85487/integrated
Del: useless -- https://master.php.net/note/delete/85487/useless
Del: bad code -- https://master.php.net/note/delete/85487/bad+code
Del: spam -- https://master.php.net/note/delete/85487/spam
Del: non-english -- https://master.php.net/note/delete/85487/non-english
Del: in docs -- https://master.php.net/note/delete/85487/in+docs
Del: other reasons-- https://master.php.net/note/delete/85487
Reject -- https://master.php.net/note/reject/85487
Search -- https://master.php.net/manage/user-notes.php