krisis32 Posted January 17, 2011 Report Share Posted January 17, 2011 Sveiki. Kāds man nevar padod hintu vai arī tepat izskaidrot. Izveidoju login sistēmu ar register un savienoju ar vienkāršu input lauku: Name (ievadas automātiski): Text: Vajadzētu lai profilā izvelk konkrēta juzera veiktos ierakstus. Ja $username sakrīt ar name, kas ievadīts db tad izvada Text. Cik noprotu kautkas no operas SELECT text FROM tabula WHERE MATCH . Quote Link to comment Share on other sites More sharing options...
Gints Plivna Posted January 17, 2011 Report Share Posted January 17, 2011 SQL daļa - http://datubazes.wordpress.com/2007/12/28/sql-select-i/'>http://datubazes.wordpress.com/2007/12/28/sql-select-i/ Kā php piemuhļīt klāt nosacījumus, meklē postos šeit pat forumā kaut vai. Gints Plivna http://datubazes.wordpress.com Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 17, 2011 Report Share Posted January 17, 2011 Nu ideja tāda.=] SELECT `username`, `email`, `avatar`, `signature` FROM `user` WHERE `id` = '{$id}' Quote Link to comment Share on other sites More sharing options...
krisis32 Posted January 17, 2011 Author Report Share Posted January 17, 2011 O, paldies daGrevi . Viss strādā! :) 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.