Problema update sql

Secţiune dedicată începatorilor.

Moderatori: Moderatori, Start Moderator


MarPlo
Senior Member
Mesaje: 885
Membru din: Mie Sep 24, 2008 9:32 am
Localitate: Braila
Contact:

Re: Problema update sql

Mesajde MarPlo » Joi Iul 02, 2015 5:01 pm

Cursuri gratuite: | | | |

nevvermind
Senior Member
Mesaje: 1264
Membru din: Mar Iun 22, 2010 3:17 pm

Re: Problema update sql

Mesajde nevvermind » Joi Iul 02, 2015 6:05 pm

Facusi un canal de php pe freenode - ##php-ro : https://webchat.freenode.net/

Avatar utilizator
ispas
Senior Member
Mesaje: 657
Membru din: Mar Sep 14, 2010 1:35 pm
Localitate: Craiova
Contact:

Re: Problema update sql

Mesajde ispas » Sâm Iul 04, 2015 10:54 pm

https://SecretPrivat.com - [url=https://SecretPrivat.com/girl/ana-vavx-46.html]Ana Vavx[/url] [url=https://SecretPrivat.com/girl/lit1le-kitty-50.html]Lit1le Kitty[/url] [url=https://SecretPrivat.com/girl/ashley-124.html]Ashley[/url] [url=https://SecretPrivat.com/girl/luxury-girl-89.html]Luxury Girl[/url] [url=https://SecretPrivat.com/girl/lola-kinks-21.html]Lola Kinks[/url] - No Selfie - Anonymous * Dating - [url=https://SecretPrivat.com] Best Dating Chat [/url]

CristianG
Average Member
Mesaje: 85
Membru din: Mie Oct 30, 2013 4:45 pm

Re: Problema update sql

Mesajde CristianG » Sâm Iul 11, 2015 10:30 pm


Avatar utilizator
ispas
Senior Member
Mesaje: 657
Membru din: Mar Sep 14, 2010 1:35 pm
Localitate: Craiova
Contact:

Re: Problema update sql

Mesajde ispas » Sâm Iul 11, 2015 10:34 pm

https://SecretPrivat.com - [url=https://SecretPrivat.com/girl/ana-vavx-46.html]Ana Vavx[/url] [url=https://SecretPrivat.com/girl/lit1le-kitty-50.html]Lit1le Kitty[/url] [url=https://SecretPrivat.com/girl/ashley-124.html]Ashley[/url] [url=https://SecretPrivat.com/girl/luxury-girl-89.html]Luxury Girl[/url] [url=https://SecretPrivat.com/girl/lola-kinks-21.html]Lola Kinks[/url] - No Selfie - Anonymous * Dating - [url=https://SecretPrivat.com] Best Dating Chat [/url]

nevvermind
Senior Member
Mesaje: 1264
Membru din: Mar Iun 22, 2010 3:17 pm

Re: Problema update sql

Mesajde nevvermind » Dum Iul 12, 2015 4:14 am

Facusi un canal de php pe freenode - ##php-ro : https://webchat.freenode.net/

CristianG
Average Member
Mesaje: 85
Membru din: Mie Oct 30, 2013 4:45 pm

Re: Problema update sql

Mesajde CristianG » Dum Iul 12, 2015 12:59 pm

Pana la urma e codul lui nu stiu ce a vrut sa faca acolo si putea sa apeleze la for() nu neaparat la while ideea era scrierea mysql-lului corect (sintaxa)

Dupa cum arata functia el lupeaza pana la 31 pentru ca defineste un set de inserari nu o inserare.

Avatar utilizator
ispas
Senior Member
Mesaje: 657
Membru din: Mar Sep 14, 2010 1:35 pm
Localitate: Craiova
Contact:

Re: Problema update sql

Mesajde ispas » Dum Iul 12, 2015 1:27 pm

Da, eu sunt in ceata, nu stiu care este ideea aceste functii...
https://SecretPrivat.com - [url=https://SecretPrivat.com/girl/ana-vavx-46.html]Ana Vavx[/url] [url=https://SecretPrivat.com/girl/lit1le-kitty-50.html]Lit1le Kitty[/url] [url=https://SecretPrivat.com/girl/ashley-124.html]Ashley[/url] [url=https://SecretPrivat.com/girl/luxury-girl-89.html]Luxury Girl[/url] [url=https://SecretPrivat.com/girl/lola-kinks-21.html]Lola Kinks[/url] - No Selfie - Anonymous * Dating - [url=https://SecretPrivat.com] Best Dating Chat [/url]

nevvermind
Senior Member
Mesaje: 1264
Membru din: Mar Iun 22, 2010 3:17 pm

Re: Problema update sql

Mesajde nevvermind » Dum Iul 12, 2015 3:49 pm

Facusi un canal de php pe freenode - ##php-ro : https://webchat.freenode.net/

clickymedia
Junior Member
Mesaje: 45
Membru din: Mie Iun 17, 2015 2:11 pm
Contact:

Re: Problema update sql

Mesajde clickymedia » Dum Iul 12, 2015 11:42 pm

Ceva mai simplu cu for

for($i=1;$i<=31;$i++){
$culoare[$i] = $_POST['culoare'.$i];
echo $culoare[$i];
mysql_query("UPDATE zile SET culoare='{$culoare[$i]}' WHERE zi=4");
}
Recent am realizat un magazin online cu ieftine si de calitate.

Avatar utilizator
ispas
Senior Member
Mesaje: 657
Membru din: Mar Sep 14, 2010 1:35 pm
Localitate: Craiova
Contact:

Re: Problema update sql

Mesajde ispas » Dum Iul 12, 2015 11:58 pm

Tu ai spus aceeasi tampenie.
https://SecretPrivat.com - [url=https://SecretPrivat.com/girl/ana-vavx-46.html]Ana Vavx[/url] [url=https://SecretPrivat.com/girl/lit1le-kitty-50.html]Lit1le Kitty[/url] [url=https://SecretPrivat.com/girl/ashley-124.html]Ashley[/url] [url=https://SecretPrivat.com/girl/luxury-girl-89.html]Luxury Girl[/url] [url=https://SecretPrivat.com/girl/lola-kinks-21.html]Lola Kinks[/url] - No Selfie - Anonymous * Dating - [url=https://SecretPrivat.com] Best Dating Chat [/url]

CristianG
Average Member
Mesaje: 85
Membru din: Mie Oct 30, 2013 4:45 pm

Re: Problema update sql

Mesajde CristianG » Lun Iul 13, 2015 12:06 am


dianagaby2002
PHPRomania Supporter
Mesaje: 19
Membru din: Mie Aug 05, 2015 10:09 am

Re: Problema update sql

Mesajde dianagaby2002 » Joi Aug 06, 2015 3:36 pm



Înapoi la “PHP Incepători”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Google [Bot] și 13 vizitatori