GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 25-Aug-2004, 01:09
skyloon skyloon is offline
Junior Member
 
Join Date: Jun 2003
Posts: 53
skyloon is an unknown quantity at this point

array


PHP Code:

<? 
mysql_select_db($dbname, $link); 
$result=mysql_query("select * from user_detail where nickname = '$name'") ; 
$number_of_array = mysql_num_rows($result); 
while ($number_of_array = mysql_fetch_array($result)){ 
echo"<img src=\"./image/$number_of_array[image_name]\">"; 
}             
?>


i've tried all the possible ways to do that, but can't....

it just shows this when i check the properties of the picture, without the "william.jpg"

localhost
Last edited by JdS : 26-Aug-2004 at 07:23. Reason: Please insert your example PHP codes between [php] and [/php] tags
 
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Read file and copy to dinamic array Carlo CPP / C++ Forum 3 10-May-2004 19:28
Speed up C++ code about 3d array! Truong Son CPP / C++ Forum 0 16-Mar-2004 21:52
c: array comparison jack C Programming Language 7 26-Jan-2004 11:21
Extra null element in an array samtediou MySQL / PHP Forum 2 11-Dec-2003 11:52

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 15:54.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.