PHPUnit assert that an exception was thrown?
Does anyone know whether there is an `assert` or something like that which can test whether an exception was thrown in t...
Latest news, tutorials, and updates from the PHP community
8494 articles available
Does anyone know whether there is an `assert` or something like that which can test whether an exception was thrown in t...
Is there any way to pass values and variables between php scripts? Formally, I tried to code a login page and when user ...
My page sends using AJAX data to a PHP script. One of the vars that the script gets is: $product_disc now a small test t...
Here is my code, that isn't working, don't know why: [Code Block]{$errno}: {$error}"); } `die()` results in: [Code Block...
Update: Pretty certain this a bug, made an issue on Jira. Update (5th May 2011): Upon jwage's recommendation I have swit...
there have two value, `$a` and `$b`. I need make a judge, `$a` is not 3 times as bigger as b or `$b` is not 3 times as b...
Actually I want to read the contents that come after the search query, when it is done. The problem is that the URL only...
I'm trying to create a simple video gallery that pulls the videos from the recorded shows of a specific Ustream user. I'...
I have the following active record query: [Code Block] This works fine with the exception that my names within the DB ca...
I want to return the 'message->text' part of this array. Can you help me? I am having some difficulty with this. [Code B...
I want to get values from an associative array of indexed arrays. My submission data comes from `$tags_array = $_REQUEST...
I have two tables with a bunch of fields [only needed mentioned] [Code Block] Now, I need one query, that will give one ...
Showing 7981 to 7992 of 8494 articles