No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
It looks as if the outermost function getDataFromUrl does not return anything.
1) in the function upper(), write field.value = field.value.toUpperCase() instead of toUppercase() 2) write an equals sign between name and "submit": <input type=submit name="submit" value="Submit!">
It looks like the function "operation" is never called. By comparision with the earlier example, you might want to rename it to "sandwich". => Sorry; only read half of the rotten69 reply...
Looks like a dquote missing: AND suburb.suburb= 'Thorndon'";
I suspect you should quote the index values of the $_POST's, like this: ('$_POST["username"]','$_POST["pwd"]','$_POST["mail"]','$_POST["Address"]','$_POST["Phone"]
You are running an update query, and pass the return value of mysql_query into mysql_fetch_array. So, as per the manual text below, you pass a boolean into mysql_fetch_array, not a record set. Hence the error message. http://php.net/manual/en/function.mysql-query.php For SELECT, SHOW, DESCRIBE, EXPLAIN and other statements returning resultset, mysql_query() returns a …
The End.
jwer