I run a MYSQL UPDATE from PHP. It produces output, which is shown in the browser – No probz.
The mysql db updates various number of rows.. If i try 10 rows, it produces first 5 rows. If i try 4 it produces first and last.
I started making INSERT for all rows, and it inserted 1000+ rows in few seconds for this excact same database. The UPDATE seems to be way off in some way…
Maybe people have some inputs to why this could happend ?
The main concern, is that after i have produced updates on the rows, the rows are “locked” for updates through PHP. This in my mind is really a weird point and i don’t get what is going on. I can offcourse make updates through the phpMYadmin.
CODE as requested:
mysql_query(" UPDATE `search` SET `pr_image` = '$primage', `pr_link` = '$pr_link' WHERE `s_id` = '$id' ");
Thanks in advance.
Try with this query.