Jump to content

rhyboo

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.rhybootemplates.com/

Profile Information

  • Gender
    Male
  • Location
    Canada

rhyboo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hey there, Try this $sql="INSERT INTO customer (username, password, gallery) VALUES ('".$_POST["username"]"'."'$_POST["password"]'".'"$_POST["gallery"].'")"; if (!mysql_query($sql,$con)) //Do you have a varaible $con in your script somewhere's that actually performs a function (db connection, etc) { die('Error: ' . mysql_error()); }
  2. Hey there, You have a slight error on the first line; 1. <?php$ //<---- Make sure your variable charactor is seperate from your opening tag. 2. firstname = $_POST['firstname']; 3. $lastname = $_POST['lastname'];
  3. I had to make a poll similar to what you suggesting, awhile ago. I used this well descriptive tutorial; http://www.firethrottle.com/viewtut.php?id=36
  4. You can include your .css doc with the "include();" function like so; <?php include("style.css"); ?> or you can directly insert your css content into a .php file; <?php //php code goes here //start your css h2 { color: black; font-weight: bold; font-size: 1.2em; text-align: left; } // end of css CSS; ?> Hope that helps, not sure on how to directly insert PHP into a .css document but this way is probably more preferred by Developers.
  5. Usually the problem is small and simple, check all your directory's and filenames over. Check for proper syntax in your coding and make sure all the pieces fit togeather. The error is either telling you the filename does not exist, or you have missed a charactor in your syntax. Double back and double check fix's about 80% of the problems.
  6. Have you installed and configured your PHP Module in your web hosting account? I know in Startlogic I had to go through the whole process of configuring PHP5 and making sure the .ini was configured properly because I had the same problem. Check with your CGI and see what version of PHP is installed on your account and configure the .ini file. Where you using Apache as a server before you transfered your application to a hosting company?
×
×
  • 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.