On 21 Jul 2010, at 19:32, Ben Miller wrote:
> Problem:
>
> If street2 (or any other field) has no value, PHP is outputting the XML node
> as , which is producing a JS error when I try to call:
>
> ..
>
> street2 = x[i].getElementsByTagName("street2")[0].childNodes[0].nodeValue;
>
>
Dear Bob McConnell,
Thank you for your reply.
I really post the same message eight times because of the first e-mail
authentication.please remove the extra e-mail in your free time.
There are two servers ,the first installation of 32-bit linux(RHEL),the
second installlation 6
Thank you for the informaiton. I did see that code but it looks like it is
formatted for MSSQL and was unable to get it to work for Mysql.
Tim
From: Andrew Ballard [aball...@gmail.com]
Sent: Wednesday, July 21, 2010 11:40 AM
To: Tim Gallagher
Cc: php-ge
On Wed, Jul 21, 2010 at 15:27, Nathan Nobbe wrote:
>
[snip!]
> name unless the string expression is wrapped in double quotes (which probly
> also evaluates in heredocs & nowdocs).
[snip!]
Close. HEREDOC, yes. NOWDOC, no. There's zero parsing done on
NOWDOC strings.
--
UNADVERTISED DEDIC
On Wed, Jul 21, 2010 at 1:32 PM, Daniel Brown wrote:
> On Wed, Jul 21, 2010 at 15:27, Nathan Nobbe
> wrote:
> >
> [snip!]
> > name unless the string expression is wrapped in double quotes (which
> probly
> > also evaluates in heredocs & nowdocs).
> [snip!]
>
>Close. HEREDOC, yes. NOWDOC, n
On Wed, Jul 21, 2010 at 22:27, Nathan Nobbe wrote:
> the single quote is not part of the variable name in the example you posted
> and further more the curly braces won't be evaluated as part of a variable
> name unless the string expression is wrapped in double quotes (which probly
> also evaluat
On Wed, Jul 21, 2010 at 1:17 PM, Dotan Cohen wrote:
> On Wed, Jul 21, 2010 at 22:07, Daniel Brown wrote:
> >That's just basic variable parsing on the PHP side, it's not
> > MySQL-specific. Check out the "variable parsing" heading at
> > http://php.net/string .
> >
>
> Thanks, Daniel. It see
On Wed, Jul 21, 2010 at 22:07, Daniel Brown wrote:
> That's just basic variable parsing on the PHP side, it's not
> MySQL-specific. Check out the "variable parsing" heading at
> http://php.net/string .
>
Thanks, Daniel. It seems unnecessary, then, as the quote character is
not a valid charact
On Wed, Jul 21, 2010 at 14:59, Dotan Cohen wrote:
> Take for example:
> INSERT INTO table ( field ) VALUES ('{$variable}' )
>
> Why the curly brackets? Where in the fine manual is this addressed? I
> started from [1] but did not find the relevant info.
>
> [1] http://il2.php.net/manual/en/book.mys
Take for example:
INSERT INTO table ( field ) VALUES ('{$variable}' )
Why the curly brackets? Where in the fine manual is this addressed? I
started from [1] but did not find the relevant info.
[1] http://il2.php.net/manual/en/book.mysql.php
--
Dotan Cohen
http://gibberish.co.il
http://what-is-
On 21 July 2010 16:30, Christoph Boget wrote:
>> [1] http://us3.php.net/manual/en/migration53.new-features.php
>
> Thanks for this. And thanks for your explanation. I think it would have
> been nice for there to have been some mention anywhere near/around example
> #2 on http://us3.php.net/manua
On Wed, Jul 21, 2010 at 11:04 AM, Tim Gallagher wrote:
> I cannot be the only one that is having this problem, what are you using for
> DAG (Direct Acrylic Graph)? I need to have a mesh node edge graph and am
> having trouble with this? I see that Neo4j has a rest server and I can do
> this i
On 21 July 2010 16:14, Ashley Sheridan wrote:
> On Wed, 2010-07-21 at 11:10 -0400, Christoph Boget wrote:
>
>> Ok, so taking the sample code that is on the page
>>
>> http://us3.php.net/manual/en/language.exceptions.extending.php
>>
>> Literally, just cutting and pasting the code. When I try to
>
On 21 July 2010 16:10, Christoph Boget wrote:
> Ok, so taking the sample code that is on the page
>
> http://us3.php.net/manual/en/language.exceptions.extending.php
>
> Literally, just cutting and pasting the code. When I try to
>
> throw new Exception( 'My Message' );
>
> PHP spits out the follo
On Wed, 2010-07-21 at 11:10 -0400, Christoph Boget wrote:
> Ok, so taking the sample code that is on the page
>
> http://us3.php.net/manual/en/language.exceptions.extending.php
>
> Literally, just cutting and pasting the code. When I try to
>
> throw new Exception( 'My Message' );
>
> PHP spi
Ok, so taking the sample code that is on the page
http://us3.php.net/manual/en/language.exceptions.extending.php
Literally, just cutting and pasting the code. When I try to
throw new Exception( 'My Message' );
PHP spits out the following fatal error:
Fatal error: Wrong parameters for Exceptio
I cannot be the only one that is having this problem, what are you using for
DAG (Direct Acrylic Graph)? I need to have a mesh node edge graph and am
having trouble with this? I see that Neo4j has a rest server and I can do this
in Java but I want to do it in PHP with a MYSQL or postgresql. I
下午 10:04:12;ZFWAR3WSDGT4WE633E63XG
< 内 部 审 计 及 内 部 控 制 与 财 务 风 险 管 理 >
时 间:2010年7月29-30日(上 海)
时 间:2010年8月06-07日(深 圳)
◆参课对象: 董事会、监事会成员;负责内部控制和内部审计部门的经理
、主管;总经理、财务副总经理以及其他高级经营管理人员;财务总监、财
务经理、财务主管、税务经理、税务主管、总帐会计、税务会计等具体操
作人士。
◆说 明:凡希望参加认证的学员,在课程结束后参加认证考
On 21 July 2010 15:04, Sky Gunning wrote:
> Hello
>
> I have a problem with a update using PDO.
> (learning atm and updating a php class to use PDO)
>
> private function updateUser($id)
> {
> $date = mktime();
>
> $DB = Db::getInstance();
>
> $stmt = $DB->prepare('"UPDAT
Hello
I have a problem with a update using PDO.
(learning atm and updating a php class to use PDO)
private function updateUser($id)
{
$date = mktime();
$DB = Db::getInstance();
$stmt = $DB->prepare('"UPDATE '. TBL_USERS .' SET
date_last_action=:updateDate WHERE
From: fyang
> I have a simple test code in different OS ,but it give me a
different
> result.
> the code as follows:
> $n= 5;
> for($i=0;$i<$n;$i++)
> {
> $data[]=array("",$i,$i/1000);
> echo $i," ",$data[$i][1],"";
>
Nilesh Govindarajan wrote:
> On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen wrote:
>> Tom Sparks wrote:
>>
>>> How do I take the output from a command line program and update a
>>> MYSQL database with it?
>>
>> | mysql -u user -p -Ddatabase
>>
>
> I don't think this is what he needs? Otherwise wh
On Wed, 2010-07-21 at 12:57 +0530, Nilesh Govindarajan wrote:
> On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen wrote:
> > Tom Sparks wrote:
> >
> >> How do I take the output from a command line program and update a
> >> MYSQL database with it?
> >
> > | mysql -u user -p -Ddatabase
> >
> >
> >
> >
Dear all,
I'm a newbie, need your help.
Now I am building a databasea using MySQL and PHP, I want to put two tables
in one searching, the two are in one database.
$query = "SELECT SQL_CALC_FOUND_ROWS * FROM table1 WHERE ".implode(" AND
", $data);
$number = "SELECT FOUND_ROWS()";
How can
On Wed, Jul 21, 2010 at 12:39 PM, Tom Sparks wrote:
> --- On Wed, 21/7/10, Nilesh Govindarajan wrote:
>> 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 tr
On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen wrote:
> Tom Sparks wrote:
>
>> How do I take the output from a command line program and update a
>> MYSQL database with it?
>
> | mysql -u user -p -Ddatabase
>
>
>
> --
> Per Jessen, Zürich (22.6°C)
>
>
> --
> PHP General Mailing List (http://www.php.
--- On Wed, 21/7/10, Nilesh Govindarajan wrote:
> 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 brig
Hi Peter!
In the first version of the template engine I had markers but now I
need more complex conditions or operations inside the template files,
like array of arrays and so on. I really like the freedom to be able
to just open a PHP tag and use a foreach() or whatever PHP
function as I please.
Tom Sparks wrote:
> How do I take the output from a command line program and update a
> MYSQL database with it?
| mysql -u user -p -Ddatabase
--
Per Jessen, Zürich (22.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
29 matches
Mail list logo