D Walker
|
| Posted: 03/05/2002, 1:51 PM |
|
Has anyone created updatable grid in PHP?
How can I write the below asp code in php?
for each i in Request.QueryString
id = i
price = Request.QueryString(i)
price = replace(price,",",".")
if IsEmpty(id) or IsEmpty(price) or not IsNumeric(id) then exit for
cn.execute ("UPDATE items SET price=" & price & " WHERE item_id=" & id )
next
Thank you
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 03/06/2002, 2:49 AM |
|
see http://www.gotocode.com/UserImages/wake/editable_gridPHP.zip
--
Alex
CodeCharge Developer
"D Walker" <idwalker@freegates.be> wrote in message
news:a63el0$4q2$1@news.codecharge.com...
> Has anyone created updatable grid in PHP?
>
> How can I write the below asp code in php?
>
> for each i in Request.QueryString
> id = i
> price = Request.QueryString(i)
> price = replace(price,",",".")
> if IsEmpty(id) or IsEmpty(price) or not IsNumeric(id) then exit for
> cn.execute ("UPDATE items SET price=" & price & " WHERE item_id=" & id )
> next
>
> Thank you
>
>
|
|
|
 |
|