keepingbusy
Programmer
Hello
Not sure how to do this in php, but what I am trying to achieve is to replace several fields in a record with a single variable.
For example, if I had price1, price2, price3, price4 etc and wanted to replace them with a value stored in newprice that has been entered into a field by me, how could I do that?
I see there is a command called INSERT but that adds a record to the table.
From a FoxPro point of view I would do this by saying:
which is fairly straight forward.
I would either like to do this via a command button in php or a hyperlink, it makes no difference.
If you need more information please let me know and some guidance not the sollution would be most advantageous.
Thank you
Windows Vista
Visual FoxPro Versions 6 & 9
Not sure how to do this in php, but what I am trying to achieve is to replace several fields in a record with a single variable.
For example, if I had price1, price2, price3, price4 etc and wanted to replace them with a value stored in newprice that has been entered into a field by me, how could I do that?
I see there is a command called INSERT but that adds a record to the table.
From a FoxPro point of view I would do this by saying:
Code:
replace price1, price2, price3, price4 with newprice
I would either like to do this via a command button in php or a hyperlink, it makes no difference.
If you need more information please let me know and some guidance not the sollution would be most advantageous.
Thank you
Windows Vista
Visual FoxPro Versions 6 & 9