[PHP] Foreach and mydql_query problem

2013-07-21 Thread Karl-Arne Gjersøyen
Hello again. I have this this source code that not work as I want... THe PHP/HTHML form fields is generated by a while loop and looks like this: " required="required"> the php source code look like this: "; $sql = "UPDATE item_table SET number_item = '$item' WHERE date = '$todays_d

Re: [PHP] strip_tags

2013-07-21 Thread Matijn Woudt
Op 21 jul. 2013 02:53 schreef "Tedd Sperling" het volgende: > > > On Jul 20, 2013, at 5:34 PM, Frank Arensmeier wrote: > > > 20 jul 2013 kl. 18:25 skrev Tedd Sperling : > > > >> Hi gang: > >> > >> I've been using > >> > >> $str = strip_tags($str, $allowable) > >> > >> as it is described via the

Re: [PHP] query order issue

2013-07-21 Thread Jim Lucas
On 7/20/2013 9:21 AM, dealTek wrote: Hi all, I have a page that starts with several mysql sql query searches and displays data below... then I added a form (with hidden line "do-update" value "UPDATE") on the same page with action to same page... then above other sql queries - I put... if