HighDots Forums  

Function Name Must be a String (PHP)

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Function Name Must be a String (PHP) in the Macromedia Dreamweaver forum.

Reply
 
Thread Tools Display Modes
  #1  
Old   
David B
 
Posts: n/a

Default Function Name Must be a String (PHP) - 05-10-2005 , 02:35 PM






I fixed the first "Function name must be a string" error by changing
$mysql to mysql.

$area_res = $mysql_query("SELECT DISTINCT Area FROM symbols WHERE
`Order` = '{$row["Order"]}'");
while ($area_row = mysql_fetch_array( $area_res ) ) {
$areas[] = $area_row('Area');

Now I get the same message, apparently pointing to the last line. So
what's a "function name," and how do you turn it into a string?

Thanks.

--
http://www.geobop.org/ (Geobop) | http://www.geoworld.org/ (GeoWorld) |
http://www.geozoo.org (GeoZoo) |
http://www.geosymbols.org (GeoSymbols) | http://www.politix.us/ (Kids'
Politix) |
http://geowebworks.geobop.org/ (Ethical Web Design) |
http://www.freedomware.us/ (Open Source Activism)



Reply With Quote
  #2  
Old   
David B
 
Posts: n/a

Default Re: Function Name Must be a String (PHP) - 05-10-2005 , 02:47 PM






David B wrote:

Sorry for another "nevermind" post; I stumbled over the solution.

--
http://www.geobop.org/ (Geobop) | http://www.geoworld.org/ (GeoWorld) |
http://www.geozoo.org (GeoZoo) |
http://www.geosymbols.org (GeoSymbols) | http://www.politix.us/ (Kids'
Politix) |
http://geowebworks.geobop.org/ (Ethical Web Design) |
http://www.freedomware.us/ (Open Source Activism)

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.