djmartins Posted November 11, 2005 Report Share Posted November 11, 2005 Divaini it kaa vajadzetu izvaditt bet neizvada drosvien kaut kada kluda scripta butu jauki jak ads paluretu kas pa stelli! http://paste.php.lv/2834 Link to comment Share on other sites More sharing options...
Delfins Posted November 11, 2005 Report Share Posted November 11, 2005 (edited) tu pirms postēt, pats apskaties ko tev PHP ziņo... $result = mysql_query("SELECT * FROM news WHERE newsid={$res[0]}",$connect); $connect nomaini uz $db tu vispār ar copy/paste nodarbojies? Edited November 11, 2005 by Delfins Link to comment Share on other sites More sharing options...
djmartins Posted November 11, 2005 Author Report Share Posted November 11, 2005 Nomainiju nekas nemainijas! Link to comment Share on other sites More sharing options...
v3rb0 Posted November 11, 2005 Report Share Posted November 11, 2005 (edited) $host == "localhost"; $port == "3301"; $user == "kartupelis2005"; $pass == "sesku_bralis"; $database == "news"; == un = nav viens un tas pats. edit: un vēl kas tev ir $res[0] iekš selecta - neredzu ka tāds $res būtu definets kkur- tā iet ka kopy/paste no 10 scriptiem! Edited November 11, 2005 by v3rb0 Link to comment Share on other sites More sharing options...
djmartins Posted November 11, 2005 Author Report Share Posted November 11, 2005 Kaa tad iisti butu jaizskatas? Link to comment Share on other sites More sharing options...
Klez Posted November 11, 2005 Report Share Posted November 11, 2005 mysql_select_db truukst! Link to comment Share on other sites More sharing options...
hu_ha Posted November 11, 2005 Report Share Posted November 11, 2005 Kaa tad iisti butu jaizskatas? paskaties uz šiem piemēriem, varbūt kas noder: links ir te Link to comment Share on other sites More sharing options...
Recommended Posts