FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Correct Mysql version???
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Correct Mysql version??? [message #17421] Mon, 29 March 2004 21:20 Go to next message
HEeditor is currently offline  HEeditor   United States
Messages: 1
Registered: March 2004
Karma: 0
Junior Member
Prior to install I ran your version checks:

Example 3.2. Finding out MySQL version

<?php
mysql_connect("127.0.0.1", "USER_NAME", "PASSWORD");
$result = mysql_query("SELECT VERSION()");
list($mysql_version) = mysql_row_arr($result);
echo "MySQL Version: ".$mysql_version."<br>\n";
mysql_free_result($result);
?>

My version is 3.23.54 but the above code bombs because
"mysql_row_arr" is not recognized. What is the latest
required mysql version?

THX

Output below:
--------------------------------------------------------------------------- -
PHP Version: 4.2.2

Fatal error: Call to undefined function: mysql_row_arr() in /var/www/html/he/vtest.php on line 6
--------------------------------------------------------------------------- ----
Re: Correct Mysql version??? [message #17422 is a reply to message #17421] Mon, 29 March 2004 21:33 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
it should be mysql_fetch_row()

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Mass Mail template.
Next Topic: Threaded or unthreaded.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 19:33:09 GMT 2024

Total time taken to generate the page: 0.02731 seconds