Noul single al trupei Directia 5, de pe albumul “Romantic”. Daca va place si ati pierdut concertul de promovare care a avut loc pe 10 mai, puteti merge in Timisoara pe 19 mai la Sala Olimpia sau pe 24 mai in Bucuresti, la Teatrul National.
Tag Archives: programare
Tutorial – Selectarea unei singure valori din MySQL folosind PHP
Lucrand cu PHP si MySQL, se intampla adeseori sa trebuiasca sa selectezi o singura valoare din baza de date.
Spre exemplu, daca este nevoie doar de adresa de email a unui user. Pentru asta ar trebui sa scriem urmatorul cod:
Continue reading
Lupta cu diacriticele (cu PHP şi MySQL)
În seara asta m-am luptat cu diacriticele. Mi-a venit ideea măreaţă să modific unul din site-urile la care lucrez şi să îî adaug diacritice. Site-ul este realizat folosind PHP+MySQL, iar cu convenţiile de folosire a UTF-8 sunt de mult obişnuit să lucrez.
Continue reading
Javascript return confirm
Daca trebuie sa faceti un buton de stergere sau unul care genera o actiune irevocabila este recomandat sa adaugati o metoda de confirmare a intentiei utilizatorului de a sterge sau executa actiunea respectiva.
O metoda foarte simpla si rapida de a evita clickurile date gresit pe astfel de linkuri sau butoane este folosind javascript.
Sterge
Dezavantajul este ca utilizatorul trebuie sa aiba javascript activat, in caz contrar, confirmarea se poate face doar pe o pagina separata, insa ca programatori este util sa adaugati si aceasta mica “bariera de protectie”.
Program Development Terminology
1. A NUMBER OF DIFFERENT APPROACHES ARE BEING TRIED – We are still pissing in the wind.
2. EXTENSIVE REPORT IS BEING PREPARED ON A FRESH APPROACH TO THE PROBLEM – We just hired three kids fresh out of college.
3. CLOSE PROJECT COORDINATION – We know who to blame.
4. MAJOR TECHNOLOGICAL BREAKTHROUGH – It works OK, but looks very hi-tech.
5. CUSTOMER SATISFACTION IS DELIVERED ASSURED – We are so far behind schedule the customer is happy to get it delivered.
6. PRELIMINARY OPERATIONAL TESTS WERE INCONCLUSIVE – The darn thing blew up when we threw the switch.
7. TEST RESULTS WERE EXTREMELY GRATIFYING – We are so surprised that the stupid thing works.
8. THE ENTIRE CONCEPT WILL HAVE TO BE ABANDONED – The only person who understood the thing quit.
9. IT IS IN THE PROCESS – It is so wrapped up in red tape that the situation is about hopeless.
10. WE WILL LOOK INTO IT – Forget it! We have enough problems for now.
11. PLEASE NOTE AND INITIAL – Let`s spread the responsibility for the screw up.
12. GIVE US THE BENEFIT OF YOUR THINKING – We`ll listen to what you have to say as long as it doesn`t interfere with what we`ve already done.
13. GIVE US YOUR INTERPRETATION – I can`t wait to hear this bull!
14. SEE ME or LET`S DISCUSS – Come into my office, I`m lonely.
15. ALL NEW – Code not interchangeable with the previous design.
16. YEARS OF DEVELOPMENT – It finally worked!
17. LOW MAINTENANCE – Impossible to fix if broken.