Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

How to make the value passed uppercase

Hi all

The following value should be all in uppercase characters


<input name="code" type="text" value="">

So that value="VALUE" becomes a value that is uppercase

Thank you all
0
PeterdeB
Asked:
PeterdeB
1 Solution
 
steelseth12Commented:
Use strtoupper() http://www.php.net/manual/en/function.strtoupper.php

On the receiving end

$code = strtoupper($_POST["code"]);
0
 
gamebitsCommented:
$code = $_POST['code'];

$code = strtoupper($code);
0
 
PeterdeBAuthor Commented:
bulls eye thank you
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now