-
Recent Posts
Archives
Categories
Meta
Category Archives: php
Downlevel-revealed Conditional Comments to detect Internet Explorer 6 or less and the other browsers
I’ve found a couple of MSDN pages where you can learn the best ways to detect IE6 or IE5 (the ones that are at the root of most of the problems in displaying the net the way you want) and … Continue reading
Posted in php
Comments Off
Cuter array assignment in php
Using php sometimes I feel the syntax is a bit awkward. The good thing is that looking through the manual I usually can find some beautiful alternative that match my taste. In this case it’s all about assigning values in string … Continue reading
Posted in php
Comments Off
Alternative syntax in php, use it and you’ll never come back!
When I started using php, I found using a lot of curly brackets quite awful ( that’s why I would like java and c# could avoid them ). Then I discovered it’s alternative syntax. As reported in the php manual: … Continue reading
Posted in php
14 Comments
Why my query is not functioning in MySQL using php?
Well maybe because you are parsing a query using a wrong type of character to envelope the fields. Let’s say you have this query (it’s a query I found online, I don’t agree with the choice of the field type): $query=mysql_query(“CREATE TABLE `test` … Continue reading
Posted in database, mysql, php
2 Comments