Evening all,
I have written this UPDATE, but the table is not updating, any offers....
$link = mysql_connect($sql_server, $sql_username, $sql_password)
or die("Could not connect : " . mysql_error());
mysql_select_db($sql_database) or die("Could not select database");
$query = mysql_query (("UPDATE teams SET TeamNumber = $teamnumber, LastUpdated = $lastupdated,
Teamname = $teamname, Division = $division, GroundName = $groundname, AddressOne = $addressone,
AddessTwo = $addesstwo, Town = $town, County = $county, GroundTelephone = $groundtelephone,
GroundFax = $groundfax, HomeColours = $homecolours, AwayColours = $awaycolours,
History = $history, GroundMap = $groundmap, DirectionsNorth = $directionsnorth, DirectionsSouth = $directionssouth,
DirectionsEast = $directionseast, DirectionsWest = $directionswest, Website = $website
WHERE TeamNumber = $teamnumber ") or die("Bug Report Please - " . mysql_error()));
There are no error reports and all of the variables 'seem' OK.... just doesn't update.
Regards,
Neil.