mysql select a single row

User avatar
JanMolendijk
Posts: 38
Location: Holland Rotterdam

mysql select a single row

I wanna use this code but only a single row, do you known how to select it ?
http://coursesweb.net/php-mysql/php-mys ... t-order-by

Code: Select all

// SELECT sql query
$sql = "SELECT `id`, `name`, `pass` FROM `users`";

JanMolendijk
I found the answer i have to do this

Code: Select all

// SELECT sql query
$sql = "SELECT `user_longbio`, `user_id` FROM `user` WHERE `user_id`='10000' ";

Adv. Posts: 01

Similar Topics