hey thanks for helping i found the problem.
sounds a bit stupid but i didn'n select a database. i just connected in the script to the mysql-server and then i gave it the sql-update-statement. and i had an error while i tried to get an error-code.
its working now.
thanks for help
js
js wrote:
i give a sql-update to mysql. no errormessage - no update ???
this is how i build the sql:
$sql_pub="update termin set pub=\"1\" where id=\"$id\"";
echo "$sql_pub";
$result=mysql_query($sql_pub);
// i dont get response ... here
echo $result;