On Mon, 19 Jul 2010 10:36:40 -0600
"Ashley M. Kirchner" wrote:
> mysql> select * from table where id='1';
> +---+-+-+---+
> | 1 | 123 | 0.0 | C |
> | 1 | 234 | 0.1 | D |
> | 1 | 345 | 0.0 | D |
> | 1 | 456 | 0.1 | C |
> | 1 | 567 | 0.1 | G |
> +---+-+-
On 21 July 2010 06:46, Sorin Buturugeanu wrote:
> @Vincent: no, the short tags are not off.
>
> @Jim: This seamns to work fine:
>
> $template = file_get_contents(pathTemplates.$this->dir.$this->tpl);
> ob_start();
> $template = eval('?>'.$template);
> $template = ob_get_clean();
>
> Thanks!
>
> Be
On Wed, Jul 21, 2010 at 8:49 AM, Tom Sparks wrote:
> How do I take the output from a command line program and update a MYSQL
> database with it?
>
> tom_a_sparks
> Light travels faster then sound, which is why some people appear bright,
> until you hear them speak
>
>
>
>
> --
> PHP General Mail
@Vincent: no, the short tags are not off.
@Jim: This seamns to work fine:
$template = file_get_contents(pathTemplates.$this->dir.$this->tpl);
ob_start();
$template = eval('?>'.$template);
$template = ob_get_clean();
Thanks!
Best wishes!
Sorin
--
Sorin Buturugeanu
http://www.soin.ro
On We
Dear all,
I have a simple test code in different OS ,but it give me a different
result.
the code as follows:
";
}
echo "count:",count($data);
?>
OS1: Red Hat Enterprise Linux Server release 5.1
Linux 2.6.18-53.el5xen i686 i686 i386 GNU/Linux
test resu
Dear all,
I have a simple test code in different OS ,but it give me a different
result.
the code as follows:
";
}
echo "count:",count($data);
?>
OS1: Red Hat Enterprise Linux Server release 5.1
Linux 2.6.18-53.el5xen i686 i686 i386 GNU/Linux
t
Dear all,
I have a simple test code in different OS ,but it give me a different
result.
the code as follows:
";
}
echo "count:",count($data);
?>
OS1: Red Hat Enterprise Linux Server release 5.1
Linux 2.6.18-53.el5xen i686 i686 i386 GNU/Linux
test resu
Dear all,
I have a simple test code in different OS ,but it give me a different
result.
the code as follows:
";
}
echo "count:",count($data);
?>
OS1: Red Hat Enterprise Linux Server release 5.1
Linux 2.6.18-53.el5xen i686 i686 i386 GNU/Linux
test resu
Dear all,
I have a simple test code in different OS ,but it give me a different
result.
the code as follows:
";
}
echo "count:",count($data);
?>
OS1: Red Hat Enterprise Linux Server release 5.1
Linux 2.6.18-53.el5xen i686 i686 i386 GNU/Linux
test resu
Dear all,
I have a simple test code in different OS ,but it give me a different
result.
the code as follows:
";
}
echo "count:",count($data);
?>
OS1: Red Hat Enterprise Linux Server release 5.1
Linux 2.6.18-53.el5xen i686 i686 i386 GNU/Linux
test resu
Dear all,
I have a simple test code in different OS ,but it give me a different
result.
the code as follows:
";
}
echo "count:",count($data);
?>
OS1: Red Hat Enterprise Linux Server release 5.1
Linux 2.6.18-53.el5xen i686 i686 i386 GNU/Linux
test resu
Dear all,
I have a simple test code in different OS ,but it give me a different
result.
the code as follows:
";
}
echo "count:",count($data);
?>
OS1: Red Hat Enterprise Linux Server release 5.1
Linux 2.6.18-53.el5xen i686 i686 i386 GNU/Linux
test resu
How do I take the output from a command line program and update a MYSQL
database with it?
tom_a_sparks
Light travels faster then sound, which is why some people appear bright, until
you hear them speak
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
Sorin Buturugeanu wrote:
> Hello,
>
> I am having trouble with a part of my templating script. I'll try to
> explain:
>
> The template itself is HTML with PHP code inside it, like:
>
>
>
> And I have the following code as part of the templating engine:
>
> $template = file_get_contents($file
On Wed, 21 Jul 2010 01:04:12 +0300, Sorin Buturugeanu wrote:
> Hello Vincent and thank you for your reply :).
>
> That's true, I forgot to explain how I got to using HEREDOC, so ..
>
> Using eval(file_get_contents($file)) just outputs the result on the
> spot and I need
> to get the
On Jul 20, 2010, at 13:28, David Mehler wrote:
> Hello,
> I've got a form, it's sticky, and it can either display on an insert
> or update. Depending on whether i'm wanting to do an insert or update
> the area the form gets it's input changes.
> So, i've got a name field, if it's set to insert,
Hey Everyone,
I know it's not strictly on topic but the php-db list hasn't responded
and I haven't gotten any farther :)
So please read below and earn a free beer for anyone that can help me,
and can make it to Florida :)
Begin forwarded message:
From: Jason Pruim
Date: July 18, 2010
Hello Vincent and thank you for your reply :).
That's true, I forgot to explain how I got to using HEREDOC, so ..
Using eval(file_get_contents($file)) just outputs the result on the
spot and I need
to get the whole output (without echoing it) and do some more things with it.
require_once() doesn
> -Original Message-
> From: Sorin Buturugeanu [mailto:m...@soin.ro]
> Sent: Tuesday, July 20, 2010 2:11 PM
> To: php-general@lists.php.net
> Subject: [PHP] eval and HEREDOC
>
> Hello,
>
> I am having trouble with a part of my templating script. I'll
> try to explain:
>
> The template
Hello,
I am having trouble with a part of my templating script. I'll try to explain:
The template itself is HTML with PHP code inside it, like:
And I have the following code as part of the templating engine:
$template = file_get_contents($file);
$template = "return <<
If in the HTML file (te
Hello,
I've got a form, it's sticky, and it can either display on an insert
or update. Depending on whether i'm wanting to do an insert or update
the area the form gets it's input changes.
So, i've got a name field, if it's set to insert, not sure how to
differentiate between the two actions, name
On Tue, Jul 20, 2010 at 10:35 AM, wrote:
> We are doing it with nfs mount which is mounted on all servers
>
> --
> Shafiq
> http://shafiq.pk
> *** This Message Has Been Sent Using BlackBerry Internet Service from
> Mobilink ***
>
> -Original Message-
> From: Dan Joseph
> Date: Tue, 20 J
We are doing it with nfs mount which is mounted on all servers
--
Shafiq
http://shafiq.pk
*** This Message Has Been Sent Using BlackBerry Internet Service from Mobilink
***
-Original Message-
From: Dan Joseph
Date: Tue, 20 Jul 2010 10:21:55
To: PHP eMail List
Subject: [PHP] Image Repli
Dan Joseph wrote:
> Hi,
>
> I'm wondering how you all are doing image replication between servers.
> I've got some things in mind, but I'd like to see how others have
> done it.
>
> We have a PHP application that accepts an image upload, then we want
> it to show up on the other 2 web servers.
Hi,
I'm wondering how you all are doing image replication between servers. I've
got some things in mind, but I'd like to see how others have done it.
We have a PHP application that accepts an image upload, then we want it to
show up on the other 2 web servers. We have 3 in a load balanced clust
I am very keen to see a closure to this thread so that I can add to my
snippets.
Let's all know what worked best out of many solutions that have been
proposed.
--Shreyas
On Tue, Jul 20, 2010 at 10:07 AM, Jim Lucas wrote:
> Peter wrote:
>
>> Hi All,
>>
>> I have a table which contain's some dup
On 19 July 2010 19:46, tedd wrote:
> At 12:39 PM +0100 7/19/10, Richard Quadling wrote:
>>
>> I'm using MS SQL, not mySQL.
>>
>> Found a extended stored procedure with a UDF.
>>
>> Testing it looks excellent.
>>
>> Searching for a match on 30,000 vehicles next to no additional time -
>> a few seco
Hi All;
I have got problem on socket. First client send query on socket and running
process for first client, socket blocking. Second client same time send query
socket, accept second client but not runing process. Waiting first client end
process. How can I do multi client runing process
28 matches
Mail list logo