![]() |
|
#1
|
|||
|
|||
statement inside arrayPHP Code:
can i put the if else statement or while loop behind: <a href=viewuser.php?name=$number_of_array[nickname] target=_blank>$number_of_array[nickname]</a> if the value is equal to 1, then echo a picture something like the picture attached... i've tried, but got error... thanks. Last edited by JdS : 26-Aug-2004 at 08:29.
Reason: Please insert your example PHP codes between [php] and [/php] tags
|
|||
|
#2
|
|||
|
|||
|
in my table has 1 column named "image", default is 0.
when i upload the picture, the 0 will set to 1. then check the value, if the value is equal to 1, then show the camera.gif this is what i meaned... ![]() |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help a C++ Idiot: I am trying to fill an array based on a switch statement. | Psycop | C Programming Language | 2 | 14-Apr-2004 04:12 |
| Speed up C++ code about 3d array! | Truong Son | C++ Forum | 0 | 16-Mar-2004 22:52 |
| c: array comparison | jack | C Programming Language | 7 | 26-Jan-2004 12:21 |
| Extra null element in an array | samtediou | MySQL / PHP Forum | 2 | 11-Dec-2003 12:52 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The