Hi guys Thanks for your help. Peter was right I had an error in the sentence, I worked it out but still the same error came up. The mysql_error() function doesn't return any thing.
Any idea? Thanks a lot. >Hi >Couple of points, you probably have an SQL error, >I use >echo $query; >echo '<br>'.mysql_error(); >which shows the query and the error >you use 'author-cat' in the table name >and 'author_cat' and 'author-cat' in the where clause which will throw an >error. ******************************************************* Wilmar Pérez Network Administrator Library System Tel: ++57(4)2105145 University of Antioquia Medellín - Colombia 2002 ******************************************************* -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php