Solved

How to make the value passed uppercase

Posted on 2007-11-28
3
189 Views
Last Modified: 2008-02-01
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
Comment
Question by:PeterdeB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 20

Accepted Solution

by:
steelseth12 earned 500 total points
ID: 20370848
Use strtoupper() http://www.php.net/manual/en/function.strtoupper.php

On the receiving end

$code = strtoupper($_POST["code"]);
0
 
LVL 28

Expert Comment

by:gamebits
ID: 20370852
$code = $_POST['code'];

$code = strtoupper($code);
0
 

Author Comment

by:PeterdeB
ID: 20370879
bulls eye thank you
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question