|
-
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 !!
-
Jul 21st, 2007, 06:25 AM
#2
Re: PHP Query string
You've forgotten the echo.
-
Jul 21st, 2007, 09:24 AM
#3
Thread Starter
Fanatic Member
Re: PHP Query string
Very thanks a lot !
my problem has been resolved
-
Jul 21st, 2007, 11:23 AM
#4
Re: PHP Query string
If your problem is resolved you can help us out by going to the Thread Tools menu above the first post and selecting Mark Thread Resolved.
Cheers.
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
|