Troxy Posted February 12, 2007 Report Share Posted February 12, 2007 reku kods http://paste.php.lv/5112 met erroru kur ir kluuda nevaru saprast Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\AppServ\www\select.php on line 13 Link to comment Share on other sites More sharing options...
andrisp Posted February 12, 2007 Report Share Posted February 12, 2007 Dari šādi: echo "ID : {$row['id']} <br/>"; Vai šādi: echo "ID : ".$row['id']." <br/>"; Link to comment Share on other sites More sharing options...
Troxy Posted February 12, 2007 Author Report Share Posted February 12, 2007 Nevajag taisīt muļķīgas QUOTEs (bubu) paldies vis rulee bet neiebraucu kapeec meta erroru Link to comment Share on other sites More sharing options...
bubu Posted February 12, 2007 Report Share Posted February 12, 2007 Tāpēc, ka šajā rindā: echo "ID : $row['id'] <br/>"; php nesaprot, ko tu gribi izdrukāt. Ir divi varianti: 1) Izdrukāt "ID : " tad mainīgā $row vērtību, un pēc tam "['id'] <br/>" 2) Izdrukāt "ID : " tad mainīgā $row['id'] vērtību un tad " <br/>" Tas viss ir skaidri un gaiši uzrakstīts manuālī: http://www.php.net/manual/en/language.type....parsing.simple Link to comment Share on other sites More sharing options...
FasT^On3 Posted February 13, 2007 Report Share Posted February 13, 2007 Troxy kada tev majaslapas adrese? Link to comment Share on other sites More sharing options...
Recommended Posts