Jump to content

Undefined Variable


dfowler

Recommended Posts

Hey guys, I have setup a config file for a signup process that pulls information from a database.  The user's password that I am forced to use starts with a $.  My code looks something like this:

 

CONFIG_password = "$pass2";

 

My problem is now I keep getting the following notice at the top:

Notice: Undefined variable: pass2 in C:\root\folder\configuration.php on line 32

 

Why is php reading this as a variable?

Link to comment
https://forums.phpfreaks.com/topic/143468-undefined-variable/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.