Call to undefined function mysql_fetch_accoc()


Posted on 16th Feb 2014 07:03 pm by admin

New to php/mysql coding. What's wrong with this sequence, or am I
just not seeing to obvious?

Getting, "Call to undefined function mysql_fetch_accoc()" at line n, where
line n is referring to '$row2 = mysql_fetch_accoc($eresult);'

Thank you...

Code: [Select]
if ...
$equery = "SELECT * FROM MemberEq WHERE memberid = '$memberid'";
$eresult = mysql_query($equery) or die('Error: ' . mysql_error());
$query = "SELECT * FROM NewMembers WHERE memberid = '$memberid'";
$result = mysql_query($query) or die('Error: ' . mysql_error());
if(mysql_num_rows($result) == 0)
{
echo "This user does not exist!";
echo "<br />";
echo "<a href=new_main.php><b>Return to Main Menu</b></a>";
echo "<br />";
die();
}
else
{
$row = mysql_fetch_assoc($result);
$row2 = mysql_fetch_accoc($eresult);

No comments posted yet

Your Answer:

Login to answer
124 Like 36 Dislike
Previous forums Next forums
Other forums

Montblanc Greta Garbo : Rabatt Mont Blanc penner For Sale , Mont Blanc fontenen penner .
[b][url=http://www.pens74.top/no/]penner[/url][/b] [b][url=http://www.pens74.top/no/]mont blanc penn

Sacs à main Prada 1801 poli __gVirt_NP_NN_NNPS - €256.68 : pradabags , pradaoutletonline.top
[b]prada fourre - tout[/b] [b][url=http://www.pradaoutletonline.top/fr/]magasin prada[/url][/b] sacs

Time script, set to my time zone?
I am using this line to get the date and time

Code: $time = date(F." ".d.", &q

Christian Louboutin Beverly Cobra-Skin Strappy Sandal [a5b3] - $183.00 : Professional Jimmy Choo Shoes Outlet Store, shoesjimmychoo.com.cn
jimmy choo clearance
jimmy choo outlet store
[b][url=http://www.shoesjimmychoo.com.cn/]Jim

Unexpected T_Variable ?
Hi all,
I dont really know what I am doing!! I know I'm doing something wrong, and I know its on

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS