Insert Text to mySQL

From: Date: Mon, 14 Jul 2003 22:41:47 +0000
Subject: Insert Text to mySQL
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6602@lists.php.net to get a copy of this message
How do you insert text with multiple lines to mySQL? I used the following code: // "sometext" is a mySQL TEXT type $stmt = "insert into test(sometext) values('$description')"; $db->query($stmt); and it didn't do anything. Do I have to use $db->executeMultiple()? Jack

« previous php.pear.general (#6602) next »