Re: POST + QUERY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2007. 03. 27, kedd keltezéssel 16.56-kor Dan Shirah ezt írta:
> Sorry, had a typo.
> 
> *$cc_first = $row_info['first_name'];
> echo "$cc_first";*
>  this echo returns nothing.

and what does
echo $row_info['first_name'];
print out?

if still nothing, then probably
1) you misspelled the field name and it's not called first_name
2) the field first_name is empty in the row

greets
Zoltán Németh

> 
> On 3/27/07, Dan Shirah <mrsquash2@xxxxxxxxx> wrote:
> >
> > print_r($row_info) display the entire column contents of the select id
> >
> > However,
> >
> > *$first = $row_info['first_name'];
> > echo "$cc_first";*
> >
> > the above echo still returns nothing.
> >
> >
> > On 3/27/07, Davi <davividal@xxxxxxxxx> wrote:
> > >
> > > Em Terça 27 Março 2007 17:40, Dan Shirah escreveu:
> > > > I have echoed something out after virtually every line of code :)
> > > >
> > > > When I echo out my result ($result_info) it returns Resource id#2
> > > > When I echo out my row ($row_info) it returns Array
> > > >
> > > > When I try to echo out a field from my array($my_info) it returns
> > > nothing
> > > > at all.
> > > >
> > >
> > > How about:
> > >
> > > print_r($row_info);
> > >
> > > ??
> > >
> > >
> > > --
> > > Davi Vidal
> > > davividal@xxxxxxxxxxxxxxxx
> > > davividal@xxxxxxxxx
> > > --
> > >
> > > Agora com fortune:
> > > "<agaffney> I want to be so bleeding edge that I cut myself!
> > > <robbat2> agaffney, no, that's just emo
> > > <agaffney> Gentoo is emo :P"
> > >
> > > --
> > > 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux