First a warning on top of page:
"t1" , "Field2"=>"t2"); $thumbnail_maxsize = 150; ?>
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\databas2\include\kodreferens_variables.php:1) in C:\wamp\www\databas2\include\dbcommon.php on line 15
then a box with following:
PHP ERROR HAPPEND
256
Error description You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where 1<0' at line 1
URL localhost/databas2/kodreferens_list.php
Error file C:\wamp\www\databas2\include\dbconnection.php
Error line 26
line 22 > 30
function db_query($qstring,$conn)
{
if(!($ret=mysql_query($qstring,$conn)))
{
trigger_error(mysql_error(), E_USER_ERROR); <<<<<< line 26
}
return $ret;
}
What I have is a real simple database with 10 fields.
Using PHP 5 and Apache 2 on a LAN (localhost)
Thought the product might help me... not tie me upp browsing code for errors.
Regards Mads