Solved

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

Posted on 2011-03-09
3
409 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 500 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now