Jump to content
php.lv forumi

Parveidot Kodu


Re_Boot

Recommended Posts

Sveiki visiem! Shis ir GET skripts:

if(isset($_GET['profile']) && isset($_GET['profile']))
{
			$profile=intval($_GET['profile']);
	$SQL1=mysql_query("SELECT * FROM users WHERE id_user=".$profile."");
   $row = mysql_fetch_assoc($SQL1);

Man sho kodu vajag parveidot taa, lai vinjs dabu visus tabulas datus peec 'id_user' bet peec username. Ludzu palidzat, mainit id_user ar username es jau megjinaju bet nesanaca, es nezinaju ko darit, un nacu pec palidzibas sheit!

 

 

P.S. Manliekas ka ar intval kkas jamaina...

Edited by Re_Boot
Link to comment
Share on other sites

×
×
  • Create New...