Html_table help.

From: Date: Tue, 15 Apr 2003 16:22:15 +0000
Subject: Html_table help.
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9278@lists.php.net to get a copy of this message
ello foks. Have a little problem with html_table I have this code: {html_table loop=$ips_data.subCats[0] cols=2} This makes the table no problem but the value for each of the $ips_data.subCats[0] fields is an array again. Is their anyway I could get the dataout? Eg: This is what I am getting: <table border="1"> <tr > <td >Array</td> <td >Array</td> </tr> <tr > <td >Array</td> <td >Array</td> </tr> </table> This is what I want: <table border="1"> <tr > <td ><a href={$the_current_array.url}>{$the_current_array.text}</a></td> <td ><a href={$the_current_array.url}>{$the_current_array.text}</a></td> </tr> <tr > <td ><a href={$the_current_array.url}>{$the_current_array.text}</a></td> <td ><a href={$the_current_array.url}>{$the_current_array.text}</a></td> </tr> Is this possible? Cheers John

« previous php.smarty.general (#9278) next »