Jump to content

Value from text


callesson

Recommended Posts

Hello Everyone!

 

I would like some help with php, sql and a text input.

Is there a way to get 3 values from one textbox?

Like if I have a textbox were i write

 

"  .gold 100 Admin  "

 

So example :

 

$firstword = gold
$sec = 100
$third = Admin

and then a sqlupdate ("UPDATE $firstword=$firstword +$sec WHERE user=$third");

And I only want it to be one textbox.

Ty in advance!

Link to comment
https://forums.phpfreaks.com/topic/200976-value-from-text/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.