/*
$var="some long text"
or
$var='some long text'
*/
if (!mysql_query("INSERT INTO table(field) VALUES($var)")) die("Always
die");
/*
1. MySQL doesn't insert the content of the variable $var into the field
table wich is a VARCHAR type or TEXT type
2. table contains other fields - type INT or VARCHAR or TEXT - but
problems with or without other fields
3. no error report on errors logs (Apache, MySQL,EasyPHP)
installed with EasyPHP v 1.6.0.0
MySQL 3.23.49
Windows Millenium
*/
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php