Reply to Re: can't get variable into the query

Your name:

Reply:


Posted by cashmere on 10/10/56 11:50

Geoff Berrow wrote:
> Message-ID: <1150538637.909055.52540@r2g2000cwb.googlegroups.com> from
> cashmere@t-online.de contained the following:
>
> >ok I'm a semi-newbie.
>
>
> For starters check out the difference between GET and POST. The GET
> method send variables in the URL, If you have used POST in your form
> (and it should really be action ="POST" not action=POST) then the
> variables will not be in the $_GET array.
> --
> Geoff Berrow

Thanks Geoff but the form posts the text OK, the variable $joketext
from the form is updated just fine.
It's the WHERE id = '$id' part that's obviously not getting passed any
value.
I've got the session variable containing the value that I need but
can't get it into the statement. I've tried umpteen variations trying
to get the value of the variable into the query.
Any ideas? Like I said I'm a newbie but trying to learn.
Cheers Dave

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация