|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||
|
You can use array to do this
PHP Code:
__________________
DirkFirst Last edited by dirkfirst; 07-25-2006 at 10:43 AM. |
|
|||||
|
was this suppose to be in the code?
[size="3"][b] Edit: i removed that line and it kind of works, however it lists every values, both in the directory and in the database. Array ( [0] => [1] => 3D-Fantasy [2] => Anagram [3] => DeepBlue [4] => ExtraLite [5] => Kaput [6] => Karate [7] => Milo [8] => NukeNews [9] => Odyssey [10] => Sand_Journey [11] => Slash [12] => SlashOcean [13] => Sunset [14] => Traditional ) In the database i have these themes 3D-Fantasy, Anagram, DeepBlue, ExtraLite, and Kaput. In the directory i have these themes 3D-Fantasy, Anagram, DeepBlue, ExtraLite, Kaput, Karat, Milo, NukeNews, Odyssey, Sand_Journey, Slash, SlashOcean, Sunset, and Traditional. Therefor i want the array to output Array ( [0] => [1] => Karat [2] => Milo [3] => NukeNews [4] => Odyssey [5] => Sand_Journey [6], Slash[7], SlashOcean[8], Sunset[9], Traditional ) Its probabley just a minor adjustment, ill see what i can do, but in the mean time ill post it for everyone elses branes to work on too ![]() Last edited by John; 07-25-2006 at 02:07 PM. |
|
|||||
|
well after a few hours of deep thought i got it, thank you for pushing me in the right direction
![]() Finished Code: PHP Code:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| List of Values in Column | Chan | PHP Forum | 6 | 08-16-2007 07:37 AM |
| Help! Can't get values into database | thesquirrel16 | Database & Database Programming | 5 | 04-21-2007 06:13 PM |
| attribute values question | skilletsteve | HTML Programming | 1 | 09-30-2006 09:37 AM |
| Seperate values in a string | Chan | C# Programming | 4 | 07-25-2006 10:17 AM |
| Sudoku can be solved using SQL..Take a look! | roger | Database & Database Programming | 5 | 07-04-2006 03:20 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 97%