Jump to content

How to transform data in database to a table


innocent15

Recommended Posts

Hello,

 

I suffer several times when I try to transform data in a mysql table, to an html table, I'll explane...

 

First, I wanna now how to do that :

 

$sql = "SELECT name, age FROM users WHERE birthdate = '$birthdate');

$call = @mysql_query($sql);

 

I wanna extract ALL the (name, age) where birdthdate = $birthdate, I mean everywhere the birthdate is the same as ($birthdate), I wanna get (name, age) info, and then display all these info in an html table.

 

I guess I can't do that using mysql_fetch_row($cal)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.