22.05.2014, 18:01
Post lines 23-27 and the rest. One question though - are you trying to compile the script with the latest versions of mysql? If yes, then the mistake is that in mysql_query needs as first argument the connection handle and mysql_retrieve_row doesn't exist in those versions.