Jump to content
php.lv forumi

Recommended Posts

Posted

liels paldies ta vareji normali paskaidrot un paradit ne jau man shobrid vajag lai tu mana vieta uztaisit es centos saprast bet vnk nav ta fishka uz shadam lietam.. vairak censhos uz realo sistemas izdomu iziet bet paldies 2x.. tiesham palidzeji.

Posted

CREATE TABLE `news` (
 `news_id`
 `news_title`
 `news_lv`
 `news_en`
) TYPE=MyISAM;

$result = mysql_query("SELECT * FROM table WHERE `news_id`='$id'");
$data = mysql_fetch_array($result);

$lang = $_SESSION['language'];
$data['news_".$lang."']

 

kaut kaa taa

×
×
  • Create New...