Simple your code should look like this:
...
if ( is_array($userInput) )
{
foreach ( $userInput as $key => $value )
{
return sanitize( $value ); //< needed to return it or
else its not recurssive
}
}
else
{
...
.
Should work, not tes
ECTED]
Subject: Re: [PHP] Need some ideas
* Thus wrote Yoed Anis:
> Hi guys,
>
> OK I need some ideas.
>
> Somebody created the stupidest XML file I've ever seen. And of
course
> they can't change it, and I *must* be able to read it. I'm all out of
>
Well, that is one approach.
>how about ignoring them? :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi guys,
OK I need some ideas.
Somebody created the stupidest XML file I've ever seen. And of
course they can't change it, and I *must* be able to read it. I'm all out of
brain power on thinking how to go about reading it. I typically use
simplexml to read xml and that's where my
>From my experience some enterprise level systems do this.
As long as you use https and a user/pass combo though I don't see what the
problem is. You can always create a server-side login mechanism that will
associate an id with the client and automaticaly expire after 30 minutes or
so as well.
Be
Luke,
MySQL has a built in CONCAT function. This will concat two strings togther.
In your example it would look like telephone_number = CONCAT('$telcode',
'$telnumber') ...
See the MySQL manual for more info on the concat function. Of course using
this function will force the data to be a string.
For this simple query simple do a call to $item->date to get your time.
If the query is more complex in reality, do a foreach using xpath. See the
example on Xpath at www.php.net/simplexml
Yoed
-Original Message-
From: Matthew Sims [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 21, 2
Hi,
I'm having trouble sending a request containing XML attributes in a soap
request.
I don't know how to go about doing it.
Previously to pass XML as a soap request from my client to the server I
would go throw the following steps:
(1) Create the XML string. (i.e xmlstr = << XML;)
(2) Than I
hey guys,
quick question I'm having trouble finding an answer too.
In a mysql database, how can I select that last row entry. This might be
done mins after i put that entry there and i tried to use:
$lastid=mysql_insert_id(); to get the last id but to no avail.
Thanks
Yoed
--
PHP General Ma
thanks guys it would have taken me forever to discover your tips.
"Yoed Anis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey Guys,
>
> I'm having a trouble I can't seem to solve and hoped maybe one of you
mig
Hey Guys,
I'm having a trouble I can't seem to solve and hoped maybe one of you might
take a look and see if you can help me.
(If you don't want to learn my approach just skip to the bottom to help me
with the final bit.. skip to "hear")
What I want to do is open the text file testtext.txt (atta
11 matches
Mail list logo