split()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
TOKEN7
Forum Newbie
Posts: 1
Joined: Wed Feb 27, 2008 11:41 pm

split()

Post by TOKEN7 »

posting.php?mode=post&f=1&sid=b84ba838a ... 6de44a2dc6#
:banghead:I was trying find the best way to split a user input array consisting of

if any 'x', 'y', 'z','^'.

EXAMPLE

I want to be able to take some number times a variable eg.
456x

Possibly even,
345xy^2.

Then, change the element that 'x' is stored in and change it to a new integer value. If possible perform the 'y^2' operation of course after replacing the 'y' with a integer value.

Or is this just way over my head :banghead:
Post Reply