Re: passing data thru link
- From: "MS" <MS@xxxxxxxxxx>
- Date: Fri, 24 Nov 2006 14:53:12 -0000
"Michael Fesser" <netizen@xxxxxx> wrote in message
news:e79cm2dii8k9q8f1mphv967clvglkcd0ld@xxxxxxxxxx
.oO(MS)
<?PHP
echo "<a href='user_edit.php?id=".$row_dbUsers['id']."'>edit</a>";
?>
Any reason why you use concatenation instead of embedding the variables
directly into the string?
echo "<a href='user_edit.php?id=$row_dbUsers[id]'>edit</a>";
or
echo "<a href='user_edit.php?id={$row_dbUsers['id']}'>edit</a>";
No Reason other than my personal preference !!
MS
.
- References:
- passing data thru link
- From: Gaga
- Re: passing data thru link
- From: Christoph Burschka
- Re: passing data thru link
- From: Gaga
- Re: passing data thru link
- From: MS
- Re: passing data thru link
- From: Michael Fesser
- passing data thru link
- Prev by Date: Re: What is it Called?
- Next by Date: how to do this
- Previous by thread: Re: passing data thru link
- Next by thread: mysqli-trouble with MySQL5
- Index(es):
Relevant Pages
|