Pomoć PHP editiranje user profila

Trebam pomoć oko edita
cijeli kod sam uploda
http://pastebin.com/6MMeybbV

if ($post_error == ‘’) {

        $insert = mysql_query("UPDATE cover_user SET 

user_id = ‘$user’,

user_email=’$user_email’,
user_password=’$user_password’,
user_firma=’$user_firma’,
user_link=’$user_link’,
user_about=’$user_about’,
user_picture = ‘$user_picture’ ");

ako uklonim user_id = ‘$user’, kad editiram profil editiraju se svi profili odjednom
user_id = ‘$user’, kad postavim editira mi uredno samo prvi profil id brojem 1
ali recimo korisnik po borjem 123 neće

fali ti WHERE

$insert = mysql_query("UPDATE cover_user SET
user_id = '$user',
user_email='$user_email', 
user_password='$user_password',
user_firma='$user_firma',
user_link='$user_link',
user_about='$user_about',
user_picture = '$user_picture'
WHERE user_id = $user ");

Hahahah stipe stipe blokada blokada moran počet razmišljati tikvom.
Pajdo hvala ti puno imaš kavu odmene i burek

Kava i burek ne idu zajedno, mislim da je bolja kombinacija jogurt i burek.

1 Like

U hercegovini je tradicija kad se najedeš onda piješ kafu


Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Profit Monkey