note 85487 rejected from function.mysql-insert-id by felipe
| From: | felipe@php.net | Date: | Tue, 02 Sep 2008 11:20:20 +0000 |
| Subject: | note 85487 rejected from function.mysql-insert-id by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-144071@lists.php.net to get a copy of this message | ||
Note Submitter: singularity dot javid at gmail dot com
----
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)");