Hello,
How can I do this?
I want to go through my mysql table (with 2.9 million rows) and search for the rows with a blank SignupIP field and then since it's blank, I want to fill it with something.
This is what I tried but didn't work:
$query = "SELECT * FROM data WHERE SignupUP = '' ";
$result = mysql_query($query);
while(($line = mysql_fetch_array($result)))
{
$line[SignupIP] = "whatever";
}
How should I go about doing this? Thank you so much in advance.
-Renny