variables

Local And Global Variables In JavaScript

Sunday, March 18, 2012 - 14:18

I have seen a lot of this sort of thing, so though I would put together a quick lesson in JavaScript variable scope. There are some important differences between local and global variables in JavaScript that will cause grey hairs if you don't know what's going on.

Category: 

PHP Question: Form Variables

Friday, April 22, 2011 - 16:27

Question

Given the following form:

1
2
3
4
<form method="post" action="index.php">
<input type="input" value="" name="text" />
<input type="submit" value="Submit" />
</form>

How would you get hold of the value of the input box after the form is submitted?

Category: