PDA

View Full Version : Calling non vb tables within modules


iwantcheese
10-30-2004, 02:16 PM
I have a page called hierarchy set up, within it is a custom content module hierarchy (wich contains the mysql calls). I have tried various ways of doing this but I always end up with the same result, (wether i use the $output method or just plain method).


Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /homepages/6/d112771430/htdocs/blindclan/v5/forum/includes/vba_cmps_include_bottom.php(268) : eval()'d code on line 85



This is line 85

<? printf("|".$ranks['rank_abbv']."|");?>


Before that is

$result = mysql_query("SELECT * FROM blind_ranks ORDER BY rank_order DESC");
$ranks = mysql_fetch_array($result);

$noOfRanks = 0;



All my tables are fine and good, and the same page works perfectly outside of vba. Any suggestions?


Thanks for your time.

Brian
10-30-2004, 02:18 PM
Remove the ?> and <? marks.