From: "Tyler Longren" <[EMAIL PROTECTED]>
> That's not the exact code. The exact code is below. Multiple workers
> are being selected from a MULTIPLE form field. I just use a
> while loop do go through the selected ones to delete them individually.
>
> PHP Version: 4.3.4
> MySQL Version: 4.0.1
Hello,
I use PHP v. 4.3.3 and MySQL v 4.1.0a and
I have the same experience as Tyler. Also when performing INSERT and UPDATE
commands.
And I also don't know why.
Mike
"Cpt John W. Holmes" <[EMAIL PROTECTED]> píse v diskusním príspevku
news:[EMAIL PROTECTED]
> From: "Tyler Longren" <[EMAIL PROTECT
Hi Cpt,
That's not the exact code. The exact code is below. Multiple workers
are being selected from a MULTIPLE form field. I just use a
while loop do go through the selected ones to delete them individually.
PHP Version: 4.3.4
MySQL Version: 4.0.17
$i="0";
while ($i <= "$selected") {
From: "Tyler Longren" <[EMAIL PROTECTED]>
> I don't think mysql_affected_rows() is working like it should for me.
> In the manual for mysql_affected_rows() it has this (Example 1):
>
> /* this should return the correct numbers of deleted records */
>mysql_query("DELETE FROM mytable WHERE id <
Hi,
I don't think mysql_affected_rows() is working like it should for me.
In the manual for mysql_affected_rows() it has this (Example 1):
/* this should return the correct numbers of deleted records */
mysql_query("DELETE FROM mytable WHERE id < 10");
printf("Records deleted: %d\n", mysql
5 matches
Mail list logo