Jump to content

JankaZ

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

Everything posted by JankaZ

  1. I have litl problem with scrip. Clousing tag > ERROR "; } ?> Sveiks Test. Iziet. SCRIPT <?php include "base.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Profils</title> </head> <body> <php $username=$_SESSION['username']; $sql="SELECT * FROM USERS WHERE username=$username"; $result=mysql_query($sql, $db); while $row=mysql_fetch_array($result)) { echo "<img src=".$imgurl."/>"; } ?> <p>Sveiks<b> <?=$_SESSION['Username']?><b>. <a href="logout.php">Iziet.</a></p>
  2. How can I get a user's image from the database if a member login through the session. And how ken i display image to page. When hy register in imgage url place images url. Database colon Users row imgurl Plzz help!
  3. Table Users Rows For example you upload image to imageshock and when register place link in imgurl! Im profile page that image display.
  4. No I wana start from 0 For example: 1.In DB i mage imgurl row. 2.Login ass Session and from sesion username get img url and display 3. <td><img src="<?=$_SESSION["imgurl"]?>" height="200" width="150"</img></td>
  5. how ken i make db with user image. When user Resgister hi place link to image and save to database. On profile page showing hes image tro sessions plzz script example aim nobie!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.