[FX.php List] Can you pull from array?
David Tinoco
davet15 at hotmail.com
Tue Oct 17 16:57:08 MDT 2006
Dan, Sorry. My idea is that I want to use a counter to update which record number of the find I would show - and to answer your question, I meant the contents of the field. Basically the PHP request a search and pulls 15 records that contain popular searches and shows these. The script has to just grab 15 random searches and display the field contents. As I said, the could below handles the search and the html make-up. I just need to replace the THis is a test, so it would become (see the bold): $cells=$popularResult['foundCount']; $curcells=$cells;$rows=ceil($cells/3);$falsecells=$rows*3; $leftcells=$falsecells-$cells; $currows=0;$i = 0;while($currows<$rows && $cells-1>$leftcells) { echo'<td class="Bold11_Blue2">Foudcount [$i]</td>'; $curcells--; if($cells-$curcells==3) { echo'</tr><tr>'; $cells=$curcells; $currows++; }$i++; }If($cells>0) {for($num=0;$num<$cells;$num++) { echo'<td>Foundcount [$i]</td>'; } }How would I code the foundcount[] part to actual FX syntax?
_________________________________________________________________
Stay connected with the news, people, places and online services that matter to you on Live.com
http://www.live.com/getstarted.aspx?icid=T001MSN30A0701
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20061017/bb1dfec0/attachment.html
More information about the FX.php_List
mailing list