Re: mysql database problem
Quote:
Originally posted by mendhak
For some reason, mysql_numrows, is not... valid/recognized???
Here's the code:
I know you fixed this already, but just a little FYI: that error is telling you that the supplied resource is not valid, not that the function itself is invalid.
So when you were missing your column, your mysql_query() was not returning a valid result.
Re: Re: mysql database problem
Quote:
Originally posted by The Hobo
I know you fixed this already, but just a little FYI: that error is telling you that the supplied resource is not valid, not that the function itself is invalid.
So when you were missing your column, your mysql_query() was not returning a valid result.
Thanks for the info.
I had another question. On both servers, I had phpMyadmin (the web based mySQL admin thing).
Now, I was wondering if it's possible for me to take a backup of the database, along with the tables and values stored in it? I know how to do this in SQL Server, which is what I used previously. But I don't know how to do this in mySQL.
Any ideas?
Undefined function mysql_connect
HI All
Since this thread is over a year aol and you guys know more php than I do, I wish to ask you this:
I have recently installed RH Linux 8 using the server installation option of the RH installer. PHP works fine and MySQL works fine. I have a problem when using MySQL connect in that an undefined function error is returned when i try to use:
VB Code:
$conn = mysql_connect("localhost");
I am logged in as a root user and there are no database permissions present yet. I think apache is not finding a module of sorts. Any help here would be really appreciated.
Thanks
Mike