$this->st->close();
$this->db->close();
}
}
$sql = "
SELECT `id`, `name`
FROM `user`
WHERE 1
";
$params = array(
'id',
'name',
);
$user_iterator = new StmtIterator($sql, $params);
while ($user_iterator->fetch()){
echo isset($this->db->name)
? "in the local scope name as {$name}."
: null;
}
Jeremy Mcentire
Ant Farmer
ZooToo LLC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mar 15, 2008, at 7:16 PM, Ray Hauge wrote:
Jim Lucas wrote:
It has been brought to my attention that with Perl and Ruby, you
can use Objects as the value of the key within an array. The
examples that were shown to me make me think that this would be an
awesome ability to have within PHP
at was the "PHP-Back-door Trojan" exactly?
Jeremy Mcentire
Ant Farmer
ZooToo LLC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah...see...I'm confused apparently!
My while loop is getting all of the names correctly, apparently my
problem
is...once i get them, how do I echo each one out seperately?
Based off of the print_r($cs_row) I can see all of the names. What
should I
be doing differently to output each name
So, take a look at what's below and see how it works for you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Nov 15, 2007, at 7:50 PM, Juan Marcelo Rodríguez wrote:
2007/11/15, Philip Thompson <[EMAIL PROTECTED]>:
On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez <
[EMAIL PROTECTED]>
wrote:
Yes, I made a mistake in the first sentence.
The code is :
[...]
foreach ($equipos as $key => $val){
echo ""
t just echoing in a loop, but defining an array of results to
begin with.
Then, of course, you can simply iterate over the resulting array when
you display.
Jeremy Mcentire
Ant Farmer
ZooToo LLC
On Nov 16, 2007, at 1:57 PM, Dan Shirah wrote:
Hello all,
I am having trouble trying to figur
On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote:
better use Date() in js ...
tedd-2 wrote:
Current date/time for whom?
For your server, use php's date().
For the user, use javascript's date().
It's so cool to be multilingual. :-)
Cheers,
tedd
I don't know that that's better. Then, suddenly, o
d' in the above example, string, string, string,
decimal. Further, you should probably make sure that your $_POST
data is set and isn't null or a variable type other than what is
expected.
Jeremy Mcentire
Ant Farmer
ZooToo LLC
On Oct 29, 2007, at 9:51 AM, Hulf wrote:
Hi,
I am still
ove the step of validation -- so they say. I'd rather not try
{} catch{} a query and give an error on failure... so, I prepare the
data as I test its validity anyway.
Jeremy Mcentire
Ant Farmer
ZooToo LLC
On Oct 29, 2007, at 6:06 AM, Hulf wrote:
Hi,
Begining using the php5 mysql functions a
line\n
Yet, the same thing in double quotes:
some linewith a tab, a variable foo, and a
newline
As a result, I use single quotes whenever I can. Otherwise, double.
Jeremy Mcentire
Ant Farmer
ZooToo LLC
On Oct 29, 2007, at 6:15 AM, Nathan Nobbe wrote:
On 10/29/07, Crayon Shin Chan &
11 matches
Mail list logo