Jump to content
php.lv forumi

Recommended Posts

Posted

if(!isset($_GET['p'])){
$query = "ORDER BY id ASC LIMIT 1";
} else {
$query = "WHERE id = ".mysql_real_escape_string($p)."";
}
$res = mysql_query("SELECT id, title, body FROM article_".$language." ".$query)  or mysql_error();

 

Sataisīju k-ko tādu, strādā... :)

Paldies.

×
×
  • Create New...