• pedro.imex (8/28/2016)


    a) Identifying the statement(s) which generate the error(s)

    $query = "UPDATE lc_t_configuracion SET valor = '$valor' WHERE id_conf =$id_conf ORDER by id_conf DESC LIMIT 1";

    mysql_query($query) or die ("Error in query: $query");

    echo "$valor<br /><br /><em>Updated!</em><br /><br />";

    ++$i;

    b) Cutting and pasting the exact text of the error message.

    ***** Error in query: UPDATE lc_t_configuracion SET valor = '11:12' WHERE id_conf =6 LIMIT 1 *****

    I've just realised that you are posting MySQL code, whereas this is a forum for Microsoft SQL Server. You will probably get more help if you can find yourself a MySQL forum.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.