View Full Version : Please Help with this line in the script


georgia4sale
12-29-2004, 01:54 PM
I can't make sense of what it is saying, we are using mysql, so how should we edit it? This is an exact copy of the script:

-------------------------------------------
### IMPORTANT: IF you are using MySQL, then uncomment the next line otherwise LEAVE IT COMMENTED. *****
#require 'database_MySQL.pl';

### IMPORTANT: IF you are NOT using MySQL, then uncomment the next line otherwise LEAVE IT COMMENTED.
require 'database_Flat.pl';
-------------------------------------------

thanks anyone
Georgia4Sale

Jafo
12-29-2004, 04:34 PM
Just like it says, uncomment the line if your using MySQL and comment out the other line, so it would look like so:

### IMPORTANT: IF you are using MySQL, then uncomment the next line otherwise LEAVE IT COMMENTED. *****
require 'database_MySQL.pl';

### IMPORTANT: IF you are NOT using MySQL, then uncomment the next line otherwise LEAVE IT COMMENTED.
#require 'database_Flat.pl';

georgia4sale
12-29-2004, 04:39 PM
Gotcha, I am new to Perl. So "#" obvisouly means to comment. Gotcha, I am somewhat fluent with html, so I am catching on a little fast. Thanks again admin.