Jump to content

help with an array


wmguk

Recommended Posts

hey, im trying to create an array of different items.

 

basically I'm hard coding them in, however I want them pulled out on a page.

 

my generating code atm

<?
for($i = 1;$i <= $pagenum;$i++)
{
?>
Page <? echo $i ;
echo "<input type='text' class='darkandsmall' name='pagename_$i' value=' SHOW ARRAY '>";
} ?>

 

can anyone point me in the right direction please?

Link to comment
https://forums.phpfreaks.com/topic/116886-help-with-an-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.