Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

if(isset($_POST['$i'])){

Posted on 2011-03-09
3
Medium Priority
?
430 Views
Last Modified: 2012-05-11
$i='v1'

if(isset($_POST['$i'])){


want
if(isset($_POST['v1'])){
0
Comment
Question by:rgb192
3 Comments
 
LVL 34

Accepted Solution

by:
Beverley Portlock earned 2000 total points
ID: 35088515
Lose the quotes


if(isset($_POST[ $i ])){
0
 
LVL 7

Expert Comment

by:lexlythius
ID: 35088809
Also,

$i='v1'

should be

$i='v1';

with a semicolon
0
 

Author Closing Comment

by:rgb192
ID: 35088972
thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

971 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