RSS Forums RSS
Please support our MySQL advertiser: Programming Forums

to make a link

Join Date: Jan 2007
Posts: 5
Reputation: gatsu is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gatsu gatsu is offline Offline
Newbie Poster

Re: to make a link

  #3  
Apr 27th, 2008
line 11 works fine, what I wonder is if line 12 is right to give a result on line 22, should the
#
$id2 = mysql_query("SELECT annons.id, annons.datum, annons.rubrik, annons.pris, annons.område, annons.säljare, annons.email, annons.tele, annons.kat, annons.text, områden.plats as annons FROM annons WHERE annons.rubrik=annons.id");

give a result in

#
echo "<td>" . '<a href="open.php?id='.urlencode($id2).'">' . $add['rubrik'] . '</a>' . "</td>";

if I did the right thing with line 12 ^^
or do I need to use another "where"?
I dont understand

Thank you for the reply =)
Last edited by gatsu : Apr 27th, 2008 at 4:16 pm.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:02 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC