HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
How with PHP to call last row of ID in SQL?
Post new topic   Reply to topic    HTML Help Forum -> PHP
View previous topic :: View next topic  
Author Message
xdefconx



Joined: 22 Mar 2006
Posts: 38

PostPosted: Fri Jul 06, 2007 12:27 pm     How with PHP to call last row of ID in SQL? Reply with quote



Hye all!! I got some basic question about SQL + PHP. I would like to know with PHP to call last row of ID? I mean like image above, i would like to view only that 1009 as output on my website and NOT all of from 1,1007,1005,1006,1008 & 1009. I alread try with

Code:

$id = $row['id'];
echo "Last ID is - ".$id."";


But that will list all of that ID in the row, so can someone tell me what a exactly "$" i have to use.

If u dont mind i also need to know any referrer URL for SQL newbies where i can know & understand any basic SQL library key/etc.

thanxs
Pattons3rd



Joined: 28 Dec 2006
Posts: 1212
Location: Colorado

PostPosted: Fri Jul 06, 2007 1:52 pm     Reply with quote

I was having problems with the same thing just a few days ago!
Weird.

Anyways I asked the folks at the IWDN for help and here is the link to the post.

http://www.iwdn.net/showthread.php?t=6443

And as for the other question, W3schools is a good place to start.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> PHP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial