CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Updatable grid with PHP

Print topic Send  topic

Author Message
Didem Gungor
Posted: 03/03/2002, 7:46 AM

I am trying to use the tip http://www.gotocode.com/art.asp?art_id=50& in PHP
but
I have problems with naming fields to update.

under form -> before show I have defined
$fldprice= "<input type=text name=".$fldorderid."value=".$fldprice." size=5
>";

However when the page is shown the field name for each record is a blank
instead of 1,2,3etc.
In the database orderid is defined as integer.

If I enter
$fldcontract = "<input type=text name=".$fldname."value=".$fldcontract."
size=5 >";
where name is a varchar, it works..

Can anyone help?
Thanks


Alexey Alexapolsky
Posted: 03/04/2002, 2:12 AM

Do you get blank record or blank name tag ?
In any case this can most probably be caused by empty db field
or incorrectly named field variable , e.g. in wrong case.

--
Alex
CodeCharge Developer


"Didem Gungor" <idwalker@freegates.be> wrote in message
news:a5tghe$ma6$1@news.codecharge.com...
> I am trying to use the tip http://www.gotocode.com/art.asp?art_id=50& in
PHP
> but
> I have problems with naming fields to update.
>
> under form -> before show I have defined
> $fldprice= "<input type=text name=".$fldorderid."value=".$fldprice."
size=5
> >";
>
> However when the page is shown the field name for each record is a blank
> instead of 1,2,3etc.
> In the database orderid is defined as integer.
>
> If I enter
> $fldcontract = "<input type=text name=".$fldname."value=".$fldcontract."
> size=5 >";
> where name is a varchar, it works..
>
> Can anyone help?
> Thanks
>
>
>

Didem Gungor
Posted: 03/04/2002, 10:56 AM

I get blank name tag.
The database field is not empty. Its record id field.

On the grid I can see the field by showing it as a label.. What else can I
check to resolve this issue?

Thanks for the help..

"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:a5vhb1$vo9$2@news.codecharge.com...
> Do you get blank record or blank name tag ?
> In any case this can most probably be caused by empty db field
> or incorrectly named field variable , e.g. in wrong case.
>
> --
> Alex
> CodeCharge Developer
>
>
> "Didem Gungor" <idwalker@freegates.be> wrote in message
>news:a5tghe$ma6$1@news.codecharge.com...
> > I am trying to use the tip http://www.gotocode.com/art.asp?art_id=50& in
> PHP
> > but
> > I have problems with naming fields to update.
> >
> > under form -> before show I have defined
> > $fldprice= "<input type=text name=".$fldorderid."value=".$fldprice."
> size=5
> > >";
> >
> > However when the page is shown the field name for each record is a blank
> > instead of 1,2,3etc.
> > In the database orderid is defined as integer.
> >
> > If I enter
> > $fldcontract = "<input type=text name=".$fldname."value=".$fldcontract."
> > size=5 >";
> > where name is a varchar, it works..
> >
> > Can anyone help?
> > Thanks
> >
> >
> >
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.