Jump to content

unable to fetch pic from file

Go to solution Solved by nadygold,

Recommended Posts

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...



<!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">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>

$query=mysql_query("SELECT * FROM users WHERE uid='".$_GET['uid']."'");
<form action="edit.php" method="post">
<table border="1px" align="center" width="85%">
<td colspan="3"><?php include'header.php' ?></td>
<input type="hidden" name="uid" value="<?=$_GET['uid'];?>" />
<td colspan="3">Welcome <?php echo $_GET['uid']; ?> </td>
<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 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 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 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 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 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 height="50px;">
<td colspan="3" style="padding-left:350px;"><input type="submit" name="submit" />   <input type="reset" value="Clear" /></td>

<td colspan="3"><?php include'footer.php' ?></td>
<div align="left"><a href="home_users.php">Home</a></div>


Thanks in advance
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.