Jump to content

nadygold

New Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by nadygold

  1. Hallo everyone... here is my following code. i am fetching the picture from the file but unable to fetch it.

    kindly help me. error in bold underline...

    Thanks

     

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    
    <body>
    <?php
    session_start();
    $uid='';
    include("connection.php");
    $query=mysql_query("SELECT * FROM users WHERE uid='".$_GET['uid']."'");
    $row=mysql_fetch_array($query);
    $image=$row['images_path'];
    ?>
    <form action="edit.php" method="post">
    <table border="1px" align="center" width="85%">
    <tr>
    <td colspan="3"><?php include'header.php' ?></td>
    </tr>
    <input type="hidden" name="uid" value="<?=$_GET['uid'];?>" />
    <tr>
    <td colspan="3">Welcome <?php echo $_GET['uid']; ?> </td>
    </tr>
    <tr height="30px;">
    <td width="37%" style="padding-left:250PX;">User Name</td>
    <td width="63%"> <input type="text" name="uname" value="<?php echo $row['uname']?>" /></td>
    </tr>
    <tr height="30px;">
    <td width="37%" style="padding-left:250PX;">User Email</td>
    <td width="63%"> <input type="text" name="email" value="<?php echo $row['email'];?>" /></td>
    </tr>
    <tr height="30px;">
    <td width="37%" style="padding-left:250PX;">Mobile</td>
    <td width="63%"> <input type="text" name="mob" value="<?php echo $row['mob'];?>" /></td>
    </tr>
    <tr height="30px;">
    <td width="37%" style="padding-left:250PX;">Type</td>
    <td width="63%"> <input type="text" name="type" value="<?php echo $row['type'];?>" /></td>
    </tr>
    <tr height="30px;">
    <td width="37%" style="padding-left:250PX;">Status</td>
    <td width="63%"> <input type="text"name="status" value="<?php echo $row['status'];?>" /></td>
    </tr>
    <tr height="30px;">
    <td width="37%" style="padding-left:250PX;">Picture</td>
    <td><?php echo "<img border=\"0\" src=\"".$row['images_path']."\" width=\"102\" alt=\"your name\" height=\"91\">"; ?></td>
    </tr>
    
    
    </tr>
    <tr height="50px;">
    <td colspan="3" style="padding-left:350px;"><input type="submit" name="submit" />   <input type="reset" value="Clear" /></td>
    
    
    </tr>
    <tr>
    <td colspan="3"><?php include'footer.php' ?></td>
    </tr>
    </table>
    <div align="left"><a href="home_users.php">Home</a></div>
    
    
    </form>
    
    
    </body>
    </html>
    ------------------
    Thanks in advance
×
×
  • 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.