Re: important plz help me

From: Luuk <luuk_at_invalid.lan>
Date: Wed, 6 Dec 2017 13:16:41 +0100
Message-ID: <5a27dfab$0$10069$e4fe514c_at_news.xs4all.nl>


On 06-12-17 10:10, dhanya_at_icfoss.in wrote:
> $query3='UPDATE malayalam SET tags='.$c[$x].' WHERE sent='.$a[$x].'';
> print_r($query3);
> mysql_query($query3) or die('Error update querying database.');
>
>
>
> Not updating database
>

There is not enough information to answer your question.

That is the output of above PHP code?

If you get an error about PHP, than please ask your question in a PHP group.

If the error is about MySQL than please give more information about the error.

Somthing like:
[root_at_luuk]> UPDATE malayalam

     -> SET tags=smething
     -> WHERE sent=something else;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'else' at line 3

is much more valuable than 'Not updating database'.... Received on Wed Dec 06 2017 - 13:16:41 CET

Original text of this message