How to escape LIKE %$var% with Doctrine?
I am making a Doctrine query and I have to do a wildcard match in the where clause. How should I escape the variable tha...
Latest news, tutorials, and updates from the PHP community
6985 articles available
I am making a Doctrine query and I have to do a wildcard match in the where clause. How should I escape the variable tha...
I have texts in UTF-8 with diacritic characters also, and would like to check if first letter of this text is upper case...
Can anyone tell me what is the significance of the key magic_quotes_gpc in php.ini file.
I've been on and off intrested in making a text based browser game. I have been turned off by the idea because of the da...
How do I get a count of columns where('user_id', $id)...?
I have an multidimensional array, how can I use it? I want to use each separate array in a `for` loop. What I want to ac...
How can I select rows from two or more tables? I'm setting default fields for a form, and I need values from two tables....
[Code Block] Assuming that all the $_REQUESTs are valid numerical values for their appropriate fields in the day/month/y...
Do interfaces in PHP have properties, or do they only have methods?
A friend of mine made a flash game for my website. The game makes a request to `/game/p00ints.php` with the points in `$...
I'm trying to get url links to those bit.ly redirects. I've tried to open bit.ly links with `file_get_contents` but it a...
I was working on a application with Zend Framework and PDO_MYSQL Adapter. But my client server doesnt support PDO_MYSQL ...
Showing 6745 to 6756 of 6985 articles