|
-
Jul 21st, 2007, 01:34 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] PHP Query string
i have while loop for populating the data from datbase in html table as follwoing code
PHP Code:
while($Rs = mysql_fetch_array($result, MYSQL_ASSOC))
{
?>
<tr bgcolor="biege">
<td><?php echo $Rs['id']; ?></td>
<td><?php echo $Rs['name']; ?></td>
<td><a href="insert.php?id=" <?php $Rs['id'] ; ?> >Delete</a></td>
<tr>
<?php
}
every thing is fine but the problem reside in the query string line that i m not getting id in <a> in each row at status bar of the browser it just show me http://localhost/insert.php?id=
i do not know what type of mistake i m doing here !!
could any one please correct it !!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|