extract() expects first argument to be an array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,
i have received the following error message and don't know what to do to correct it. i have tried several things but what i have tried does not work. i will post my code below the error message. thank you for your time. best, addison ellis

Warning: extract() expects first argument to be an array in /users/infoserv/web/register/ca/new_account.php on line 82


<?
include("config.php");
$sql = "SELECT first_name,last_name FROM accounts WHERE email='$email'";
$result = mysql_query($sql)
or die("Couldn't execute query 1.");
$row = mysql_fetch_array($result);
extract($row);
echo "
<head><title>New Account Welcome!</title></head>
<h2 align='center' style='margin-top: .7in'>
Welcome $firstName $lastName</h2>\n";
?>
--
Addison Ellis
small independent publishing co.
114 B 29th Avenue North
Nashville, TN 37203
(615) 321-1791
addison@bellsouth.net
info@smipco.com
subsidiaries of small independent publishing co.
info@gloabaldog.com
info@momandpocentral.com

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux