I need to cycle through each row for the particular field, grabbing its content, run it through a parser, and place the result back in the field. I rarely have to delve this far into things, so I working example would be greatly appreciated. Here's where I am at so far (please don't laugh!):
<?
function parse_string($text){
// do something with $text...
return $text
}
$username="abcd";
$password="1234";
$database="abcdefg";
$table="table2"
$field="field3"
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
// And for the part I'd like help with...
// Repeat through each row of $table, parsing the content of $field
// via the function parse_string($text) and placing the result back
// into the database (replacing $field)
mysql_close();
?>