![]() |
Php code help?
I am trying to put the below variables in a table. How do I add it?
print(" $category "); // 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(" $this_link_info[2] - $this_link_info[5] \n"); } } } closedir($dirhandle); |
|
Hi,
If you could clarify exactly what you wanted to do, maybe i can help:) |
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.
|
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?
|
All times are GMT -4. The time now is 05:01 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc