On Fri, Dec 14, 2012 at 7:41 AM, FeIn aci...@gmail.com wrote:
Hi all,
I have a typical web application that does some basic CRUD operations.
Operations that modify the database (inserts, updates, deletes)
trigger a background gearman job to refresh the cache that is used for
another
Maybe catch(Exception $e) should be catch(\Exception $e)?
On Fri, Jun 1, 2012 at 5:25 PM, James Colannino crankycycl...@gmail.com wrote:
Hey guys,
Haven't posted in a long time... Happy Memorial Day! I have an issue with
exception handling. I'm using a framework that throws a
http://www.php.net/manual/en/function.stream-context-create.php
On Fri, Mar 2, 2012 at 4:44 PM, Nibin V M nibi...@gmail.com wrote:
Thanks Marc. But that need to add the DOM parser to the server. What I am
looking for something like iframe in html and that doesn't require any
additional PHP
I don't how how you keep your data in your database but there is no need to
issues that many queries to retrieve your data. From what I understand the
data you want to display is hierarchical. Here's an article that will
hopefully point you to a solution (there are more out there, some better
than
And see also this, which focuses only on the database part of the problem:
http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/
On Thu, Mar 1, 2012 at 5:08 PM, FeIn aci...@gmail.com wrote:
I don't how how you keep your data in your database but there is no need
to issues
Have a look at zeromq.
http://vimeo.com/20605470
http://zguide.zeromq.org/php:all
Hope it helps.
On Fri, Jan 20, 2012 at 12:24 AM, Thomas Johnson t...@claimlynx.com wrote:
Hello,
PHP noob here. I've been working on writing a script (command-line) that
forks a number of children to do
maybe something like this if you are willing to get rid of your weird array
dimension delimiters (you can use a dot for that for example, see below)
$a = array(
a = array(
b = array(
c = array(
d = array(
e = array(
I don't think you're suppose to end your queries with a semicolon. Try:
$sql = SELECT * FROM photographs WHERE
photo_filename LIKE '%2%' LIMIT 0, :q;
On Mon, Dec 12, 2011 at 1:49 PM, Stephen stephe...@rogers.com wrote:
So I am getting this SQL error:
Error selecting
strpos example is much faster though
On Tue, Mar 15, 2011 at 7:20 AM, Jack jacklistm...@gmail.com wrote:
Thanks everyone... great examples...works ( both methods )
Thanks!
Jack
-Original Message-
From: Alexis Antonakis [mailto:ad...@antonakis.co.uk]
Sent: Tuesday,
I am unable to provide a better definition that user defined variables.
User defined variables are variables that are declared by the user. User
here means the creator (or maintainer of the script).
So for:
?php
$a = 'A';
$b = 'B';
$c = 'C';
function globals() {
$globals = $GLOBALS;
Unsetting doesn't leave user defined variables. Unsetting simply destroys
variables (or removes elements from an array, etc). There is nothing magic
or hidden in that script. I think the note meant exactly what it said: after
creating a local copy of the $GLOBALS array and removing super globals
Also check http://www.php.net/manual/en/function.natsort.php
On Tue, Mar 1, 2011 at 1:39 PM, David Robley robl...@aapt.net.au wrote:
Ron Piggott wrote:
I need help to know how to sort the words / phrases in my array.
Variable name: $words_used
print_r( $words_used ); Current output:
Hi,
How does the input array look like (the contents of the $karamohArray
variable) ? Is your script generating any errors? What do you expect to
happen when you call array_walk_recursive?
On Thu, Feb 24, 2011 at 1:01 PM, Dave M G mar...@autotelic.com wrote:
PHP users,
I obviously don't
, Feb 24, 2011 at 5:15 PM, Dave M G mar...@autotelic.com wrote:
FeIn,
Thank you for responding.
what did you expect to happen when you call array_walk_recursive?
What I don't understand is why it did not append to the string as it
walked through each key/value pair.
It seems like even
14 matches
Mail list logo