noyd Posted December 27, 2010 Report Share Posted December 27, 2010 Tātad sākumlapā scriptu neuzrāda un respektīvi viņš neiet, bet ieejot http://localhost/sc/jaunumi.php es sastopos ar erroru Parse error: syntax error, unexpected T_VARIABLE in C:\AppServ\www\sc\jaunumi.php on line 4 skripts.! Quote Link to comment Share on other sites More sharing options...
briedis Posted December 27, 2010 Report Share Posted December 27, 2010 Neskatīšos kodu. Kas tad ir 4 rindiņā? Vai netrūkst kāds semikols vai kas tāds? Quote Link to comment Share on other sites More sharing options...
noyd Posted December 27, 2010 Author Report Share Posted December 27, 2010 $result = mysql_query("SELECT * FROM `ibf_posts` ORDER BY start_date DESC", $connect); Quote Link to comment Share on other sites More sharing options...
mounkuls Posted December 27, 2010 Report Share Posted December 27, 2010 (edited) Mani arī sabesija:) Varbūt apgūsti vismaz PHP normali un tag gar MySQL grāpsties? Tas ko Tu iedevi kā kodu ir nenopietni. Vienīgais. ko tāds spētu izvadīt ir pašrakstīts kļūdas paziņojums pie atslēgtiem standarta. P.S. Esmu sasvinējies un tāpēc rakstu kā gailis ar kāju, bet tas nu tā:) Edited December 27, 2010 by mounkuls Quote Link to comment Share on other sites More sharing options...
nemakuphp Posted December 27, 2010 Report Share Posted December 27, 2010 http://paste.php.lv/610e3ed1de24b244b8472b9d3eabadd6?lang=php Quote Link to comment Share on other sites More sharing options...
ezis Posted December 27, 2010 Report Share Posted December 27, 2010 (edited) wtf? Tas pieraksts vispār ir pieņemams? o0 Pirmo reizi redzu, ka kāds tā darītu tādā situācija :O Apgaismojat mani. btw, iekš config.php Tev viss ir ok? Edited December 27, 2010 by ezis Quote Link to comment Share on other sites More sharing options...
Val Posted December 28, 2010 Report Share Posted December 28, 2010 semikols #2 rindas beigās pietrūkst. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.