//create an array of the URLs
$url_array = array();
for ($count = 1; $row = $result->fetch_row(); ++$count)
{
$url_array[$count] = $row[0];
}
When I try to run this code, I get an error message saying
"Fatal error: Call to a member function query() on a non-object in /home/goddess/public_html/bookmarks/url_fns.php on line 12".
I think it's because my version of PHP doesn't support the ' -> ' operator (it never works when I try to use it). How can I rewrite this so it doesn't use the -> operator?
2006-10-30
01:38:17
·
1 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design