Jump to content

Goochi

Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by Goochi

  1. I got following code at my fanlisting-script..

    $query = \\\"UPDATE fanlisting SET censor = \'n\' WHERE id = \'$uncensor\'\\\"; mysql_query ( $query ); echo $query . \'<br>\';

     

    this should modify a record in the datebase + output the SQL-code to the screen with the echo. The output to the screen is

    UPDATE fanlisting SET censor = \'n\' WHERE id = \'50\'

     

    but in the DB isn\'t happening anything.. while when I copy the output that appears on the screen (second quote) and I paste it in my phpMyAdmin then it does update the record.

     

    What might cause this ?

    thanks

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.