Jump to content
php.lv forumi

mainigais


hEiti

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

×
×
  • Create New...