|
![]() |
![]() |
![]() |
![]() |
![]() |
|
![]() |
#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); |
![]() |
![]() |
![]() |
#2 |
If something goes wrong at the plant, blame the guy who can't speak English
Join Date: Apr 2003
Location: Florida Panhandle
Posts: 304
|
<bump>
|
![]() |
![]() |
![]() |
#3 |
Rock stars ... is there anything they don't know?
Join Date: Aug 2003
Posts: 10
|
Hi,
If you could clarify exactly what you wanted to do, maybe i can help ![]() |
![]() |
![]() |
![]() |
#4 |
If something goes wrong at the plant, blame the guy who can't speak English
Join Date: Apr 2003
Location: Florida Panhandle
Posts: 304
|
I want the above code in a table. I dont know how or where to use these in php. Php is still kinda a new for me cause I usually just use html.
|
![]() |
![]() |
![]() |
#5 |
Rock stars ... is there anything they don't know?
Join Date: Aug 2003
Posts: 10
|
You mean you want the above code to print a table of links out as opposed to just a list of links as per currently?
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|