codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  view image based on their profile (in php)  WAN_GHOST at 05:12 on Tuesday, January 05, 2010
 

actually i want to display image upload from user correctly..i fail to match the image upload form user...the image display in all user profile...

Example : The image upload from user A....display in all table profile user...(i actually want the image display right on each user likes image upload from user A will show on user A profile.





<Added>

This is the coding display image after already upload the image

<? $queryImage= mysql_query("SELECT * FROM image WHERE user='". $_SESSION["userID"]."'");
$recordImage = mysql_fetch_array($queryImage);
if($recordImage){
print('<img src="upload/'.$recordImage['filename'].'" border="0" width="100">');
}
?>








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: FREE TV on your PC!
•  C/C++ Source Codes
•  ASP.net Source Codes
•  ASP Source Codes
•  Close EXE & die command
•  view image based on their profile (in php)
•  view image based on their profile (in php)
•  view image based on their profile (in php)
•  view image based on their profile (in php)


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010