Jump to content
php.lv forumi

Dalisana pa 2


Joyride

Recommended Posts

Sveiki!

 

Nekadi nevaru izdomat, ka lai attelo info no datubazes rindas, pa 2 katra:

1 kautkas | 2 kautkas

3 kautkas | 4 kautkas

utt | utt

 

$res = mysql_query("SELECT * FROM tabula");

echo '<table>';

while($row = mysql_fetch_assoc($res)) {

// ...?

}

echo '</table>';

 

Vai kads nevaretu pateikt prieksa

Link to comment
Share on other sites

×
×
  • Create New...