Hi all,
I am quite new to php, knowing just enough to break stuff. Anyway, I have an array to populate a product list (an html form pulldown). For example: '4x6'=>12, '8x10'=>15, etc. Once the page is submitted, I am trying to separate the key and value so I can use the value for some equations. (total cost, subtotal, etc.) This has me banging me head on the wall. Any help with this seemingly simple, yet elusive solution?
Thanks in advance,
Forbes
getting key value after page submitted
Moderator: General Moderators
-
Paddy
- Forum Contributor
- Posts: 244
- Joined: Wed Jun 11, 2003 8:16 pm
- Location: Hobart, Tas, Aussie
- Contact:
I am really not sure what you are asking. It sounds like you are after string manipulation. If that is the case try here
http://au2.php.net/manual/en/ref.strings.php
They are all the functions available for strings. If you want more specific help then please be a little more descriptive of what it is you are after. Or you could just wait for someone more coherent.
http://au2.php.net/manual/en/ref.strings.php
They are all the functions available for strings. If you want more specific help then please be a little more descriptive of what it is you are after. Or you could just wait for someone more coherent.