![]() |
|
| |||||||
| Notices |
| mySQL & PHP Discussions, information and help with mySQL and PHP. |
![]() |
| | Thread Tools |
|
#1
| |||
| |||
|
Hi, I have found a download which I think will be useful for my site but even with the instructions I am struggling because I really don't understand MySQL and how to use it, plus the instructions (I think) assume that the user knows more than I do. Could someone help by decyphering the instructions into an easier to follow wording please. Many thanks in advance, instructions below: license: this software (real-estate-management-software.org) is 100% free and may be used free of charge. you may not redistribute or sell this software for commercial profit. installation: -copy all files to your web host -use phpmyadmin or your mysql interface to run admin/db.sql against your database. -chmod 777 upload/ and upload/tmp/ -open site.xml and edit the database section with your database details. -go to admin/ and login with username of admin with a password of test. -be sure to change the passwords for the admin and regular user. Setup the site.xml file with your database settings as follows. <database type="mysql"> <server>database server address</server> <login>database login</login> <password>database password</password> <default>mysql database name</default> </database> Add this to your htaccess file to prevent viewing of the xml config file. <Files ~ ".xml"> Order allow,deny Deny from all Satisfy All</Files> Contributed Helpful Information: To display parts of a template only if contains a value: if(('{WATER}' == '0') || ('{WATER}'=='NULL') ) { document.write("") }else { document.write('<tr><td class="left-tr">Water:</td> <tdclass="border-tr">Yes</td></tr>' )}; If you receive any "Notice: Undefined Index" errors. The work-around has been to set the auto-session option in PHP.INI to ON. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |