GeRik Posted June 30, 2009 Report Share Posted June 30, 2009 Kads nevar pateikt ka ielikt tabula pedejo link kur members bijis ? Quote Link to comment Share on other sites More sharing options...
kechums Posted June 30, 2009 Report Share Posted June 30, 2009 UPDATE memberu_tabula SET kur_bijis='$kur_bijis' WHERE lietotaja_id='$id' Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted June 30, 2009 Report Share Posted June 30, 2009 INSERT INTO tabula_pieks_pedejiem_linkiem (links) VALUES ($pareizi_noformets_urlis); Quote Link to comment Share on other sites More sharing options...
GeRik Posted June 30, 2009 Author Report Share Posted June 30, 2009 (edited) es biju domajis ka dabut to pedejo link un vai man vinsh ir jaliek atsevishka tabula ja man vinsh ir jaiebaz sheit user_location($users['last_link']) Itka man stav ka pedejais urlis ir $location_url Edited June 30, 2009 by GeRik Quote Link to comment Share on other sites More sharing options...
waplet Posted June 30, 2009 Report Share Posted June 30, 2009 piemēram ja ir uz ?lapa=sadas $kurbijis = $_GET['lapa']; mysql_query("UPDATE bijis SET bijis = '$kurbijis' where username = '$username';"); Quote Link to comment Share on other sites More sharing options...
ezis Posted June 30, 2009 Report Share Posted June 30, 2009 pipec.! Oo Tu laikam nesaprati? ^^ user_location tā ir tā funkcija kurā pēc linka pateiks kur atrodas lietotājs.! to linku var dabūt ieliekot kkur db un tad attiecīgi ņemot laukā. Quote Link to comment Share on other sites More sharing options...
ezis Posted June 30, 2009 Report Share Posted June 30, 2009 (edited) piemēram ja ir uz ?lapa=sadas $kurbijis = $_GET['lapa']; mysql_query("UPDATE bijis SET bijis = '$kurbijis' where username = '$username';"); ja būs linkam vairāku parametri, tad viņš nevarēs uztaisīt, lai <a href="'.bijis.'">lasa jaunumus</a> es jau vinjam devu visu savu skriptu.. vajag tiaki salikt, tā kā pašam tīk.. Edited June 30, 2009 by ezis Quote Link to comment Share on other sites More sharing options...
GeRik Posted June 30, 2009 Author Report Share Posted June 30, 2009 tagad vispar sajuka vairs neko nesaprotu 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.