goma smile Posted February 25, 2009 Author Report Share Posted February 25, 2009 (edited) Atvainojos ka atkal paceļu šo tēmu bet man intresē kā izdarīt lai varētu noteiktais lietotājs dzēst savis rakstīto atbildi $da="SELECT * FROM komentaari WHERE komentaara_addid=$user_id and id={$_GET['a']}"; $da=mysql_query($da); $da=mysql_fetch_assoc($da); if ($da['komentaara_addid'] == $user_id) { dzēš } else { nedzēš } kautkas šeit neštīmē Edited March 14, 2009 by goma smile 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.