Re: "call to undefined function" mysql_error when adding new rows to table



news@xxxxxxxxxxxxxx wrote:
Hi all, I've just posted this in comp.lang.php, hope it's OK if I also
post it here...

I have recently set up a mysql database of local pubs, with a web form
to add new listings (using PHP to generate an INSERT query).

I've just been doing a bit of data entry, adding a bunch of new pubs,
and all was going swimmingly. But suddenly it has stopped working - now

when I try to add a new pub I get an error message "call to undefined
function". I have not altered the script in any way since the last
successful addition was made.

This is common error message when a function isn't supported by the PHP

with no example of the code you are trying to use and how your table is looking like, it's a bit difficult to say whets wrong, but feels you have misspelled the function name.


//Aho
.