Reply to Re: $POST is the differnce char or a reserved name

Your name:

Reply:


Posted by fedor on 12/06/06 09:23

x.tardits@gmail.com wrote:

> Hi,
>
> Firstly when you build a SQL query, You can update a NumberCasted
> column using (column_name = 12345) but StringCasted column values in
> update (and even in reading) must be quoted (column_name = 'abcd'). If
> you don't do that your string ('b1' in your case) will be interpreted
> as an expression that's probably the reason of your bug.
>
> secondly try to use $_POST with quoted indexes, in this case it seam to
> work as you did but you will encounter furthers problems with that...
>
> Good Luck and sorry for my "frenchie english"
>
> Xabi
>

Xabi,

Thank you very much for your answer.
The nucleos of this problem is this peace of code
where size_key = $_POST[size_key]";

I tried it like
where size_key = '$_POST[size_key]'";
and like this
where size_key = \"$_POST[size_key]\"";
It generated only other errors.

The last thing you wrote "use $_POST with quoted indexes" I do not
understand.

Your English is better than most foreigners,
thank you again and good luck

[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

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