problema cu data

Secţiune dedicată începatorilor.

Moderatori: Moderatori, Start Moderator


last1devil
Average Member
Mesaje: 60
Membru din: Mar Sep 21, 2010 8:14 pm
Localitate: Spain
Contact:

Mesajde last1devil » Mie Sep 22, 2010 2:46 pm


Avatar utilizator
Sim Master
Average Member
Mesaje: 189
Membru din: Dum Aug 22, 2010 4:31 pm
Localitate: Timisoara
Contact:

Mesajde Sim Master » Mie Sep 22, 2010 9:24 pm


alexandrul
Average Member
Mesaje: 117
Membru din: Joi Oct 01, 2009 12:58 pm

Mesajde alexandrul » Mie Sep 22, 2010 9:35 pm


Avatar utilizator
Sim Master
Average Member
Mesaje: 189
Membru din: Dum Aug 22, 2010 4:31 pm
Localitate: Timisoara
Contact:

Mesajde Sim Master » Mie Sep 22, 2010 9:52 pm

pf, mi-e cam somn acum ca sa-mi dau seama ce e cu codu ala 8O :lol: :oops:

dar nu poti sa stergi

$query="SELECT * from proiecte where (SELECT MONTH(data_postare_proiect)=$curent_month[nr] ) and id_user=$user_curent";

if mysql_num_rows(mysql_query($query))>2

si sa pui ce ti-am dat eu mai sus? ca pana la urma tot la un mysql_num_rows se ajunge in ambele cazuri :D

alexandrul
Average Member
Mesaje: 117
Membru din: Joi Oct 01, 2009 12:58 pm

Mesajde alexandrul » Mie Sep 22, 2010 9:54 pm


Avatar utilizator
socu
Senior Member
Mesaje: 470
Membru din: Mie Apr 22, 2009 11:05 pm
Localitate: Marghita

Mesajde socu » Mie Sep 22, 2010 11:20 pm



Înapoi la “PHP Incepători”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 3 vizitatori