...

View Full Version : code inspecting ($_GET)



grudz
03-25-2004, 04:35 PM
Hi,

Before you read the question, I know that it's something very, very, simple and stupid.

I have a textfield that i want its value to use the $_GET .

I have a text thats links to this.....page.php?type=feedback

and this is what my textfield looks like




<input name="type" type="text" class="textfield" id="type" value="<?php $_GET['type'] ?>">



so basically, the value for the textfield should be "feedback"
yet it's not.....what's am i missing....?

firepages
03-25-2004, 04:49 PM
<?php echo $_GET['type];?>
or shorthand
<?=$_GET['type'];?>

grudz
03-25-2004, 04:51 PM
i don't believe it........i was typing every thing......i just didn't see it....im really sorry...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum