|
|
|
|
|
|
![]() |
#1 |
If something goes wrong at the plant, blame the guy who can't speak English
Join Date: Apr 2003
Location: Florida Panhandle
Posts: 304
|
Php code help?
I am trying to put the below variables in a table. How do I add it?
print(" <FONT FACE=\"Comic Sans MS\" SIZE=6>$category</FONT> <BR><BR> "); // FILL AN ARRAY WITH THE DOMAIN NAMES $dirhandle= opendir("$categories/$category"); // WHILE THERE'S STILL SOMETHING IN THE CATEGORIES FOLDER while($filename = readdir($dirhandle)) { // WHICH IS NOT THE DOTS if ($filename != ".") { if ($filename != "..") { // FIL AN ARRAY WITH CONTENT OF EACH LINK FILE $file_handle=file("$categories/$category/$filename"); $this_link_info=explode("|", $file_handle[0]); print(" <A HREF=\"$this_link_info[3]\"><FONT FACE=\"Comic Sans MS\" SIZE=3>$this_link_info[2]</FONT></A> - <FONT FACE=Comic Sans MS SIZE=2>$this_link_info[5]</FONT><BR> \n"); } } } closedir($dirhandle); |
![]() |
![]() |
|
|