Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Getting data from a row in mysql database
Old 02-23-2009, 12:41 PM Getting data from a row in mysql database
Average Talker

Posts: 19
Trades: 0
How do I get data from a specific table row in mysql database?

For example, I have a table of animals like this.

id | name | type | size
01 | rat | pest | very small
02 | dog | pet | varies
03 | elephant | mammal | large

How can fetch data only from the second row?
rogerchin85 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-23-2009, 12:48 PM Re: Getting data from a row in mysql database
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
SELECT * FROM `table_name` WHERE `id`='02'
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Old 02-23-2009, 01:13 PM Re: Getting data from a row in mysql database
Average Talker

Posts: 19
Trades: 0
EDIT - Nevermind

Thanks for the help.

Last edited by rogerchin85; 02-23-2009 at 01:18 PM..
rogerchin85 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Getting data from a row in mysql database
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30548 seconds with 12 queries