Darkangel Posted January 2, 2007 Author Report Share Posted January 2, 2007 Ja tas $id strada man pasa lapas sakuma kur ira sis kods. echo "Userid:".$id."<br>"; Tur man $id uzradas bet iskatas vins neiet kad es pec vina gribu sakt meklet kautko mysql databaze? Link to comment Share on other sites More sharing options...
andrisp Posted January 2, 2007 Report Share Posted January 2, 2007 Nu tad tabulā nav tāds ieraksts. Link to comment Share on other sites More sharing options...
Darkangel Posted January 2, 2007 Author Report Share Posted January 2, 2007 Ja tu domaji mysql tabula tad man ira tur ierakstits vari parbaudit seit pats ka man tas $id strada http://darkangel.carnikava.com/test/ ACC: Testman PASS: t Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 2, 2007 Report Share Posted January 2, 2007 (edited) un tas id ir 1??? Nu nav tev Db taada ieraksta !!!! jo tu prasiji paraadiit VISUS !!! ierakstus kur laucinjaa avatar =1 kautgan gribeeji dabuut bla.jpg // tavs un nepareizss $sql = "SELECT * FROM user WHERE avatar = '$id'"; // shim varbuut?? buutu jaanostraadaa (ja tas user id tieshaam ir vienkaarshi ID ja ne parsauc patC $sql = "SELECT * FROM user WHERE id = '$id'"; edit: tavs ieraksts no sintakses viedoklja ir pilniigi pareizss, tik no logjikas galiigi skjiibs... ja vien nemekleeji ierakstu kur avatar ==1 ;) Edited January 2, 2007 by Grey_Wolf Link to comment Share on other sites More sharing options...
Darkangel Posted January 2, 2007 Author Report Share Posted January 2, 2007 (edited) Liels Paldies nostradaja tas man :D Edited January 2, 2007 by Darkangel Link to comment Share on other sites More sharing options...
Recommended Posts