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...

Cross-posting is a lot better than doing multi-posting.


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
.



Relevant Pages

  • Re: Help with Hurricane Database
    ... I can do this with a normal parameter query and have used ... box requesting the unit and hurricane data. ... on the switchboard that will open the data entry form. ... form has the store information and the sub form has the data entry ...
    (microsoft.public.access.formscoding)
  • Re: Confused by mysqli
    ... When I started using MySQL with Perl back in 1998, ... fetch_assocon a query I prepared with bind variables, ... So I had it print out its eval string that it was trying to run. ... PHP will fail to run at all, because bind_result will not have enough ...
    (comp.lang.php)
  • Re: [PHP] PHP & MySQL Problem
    ... [PHP] PHP & MySQL Problem ... > actually there seems to be no problem with your query (besides that you ...
    (php.general)
  • Re: timestamp
    ... PHP newsgroup, and should be discussed in comp.databases.mysql). ... Then click on the Survey link."; ... your SQL syntax; check the manual that corresponds to your MySQL ... Your query fails because a datetime value needs to be in single quotes in the query, ...
    (comp.lang.php)
  • Re: [PHP] Architecture patterns in PHP
    ... 316 Query SHOW TABLES FROM `cake` ... 316 Query DESCRIBE `posts` ... Application and Templating Framework for PHP ... when they cache the results of reverse engineer the object model from ...
    (php.general)