Jump to content
Larry Ullman's Book Forums

webrawa

Members
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    1

webrawa last won the day on August 23 2013

webrawa had the most liked content!

webrawa's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. What Larry means is confirm that your $un, $e and $p variables are actually being assigned values from the form by using "echo" or "print" to output these variable values to the screen .... (i.e echo $un ) to dispay the value assigned to the $un variable .... As far as your last error I believe you may be missing the "AND" in the WHERE clause of the sql statement: SELECT user_id FROM users WHERE username='Frostbite' AND email='example@thisaddress.com' -Randy
  2. Other than those adjustments I mentioned earlier ..I DID NOT have to make any other adjustements to your header.html file on the linux box and once again it ran fine .. For further testing just make sure the mysql data and tables were setup correctly .. In the header.html file I changed the default $_SESSION['lid'] from 1 to 9 .. so that when the index page is first loaded the japanese characters would first be used and then tested going to english via the drop down and everything worked ok using your header.html file on my hosted linux system ... Here is a link to this project on linux hosting currently using your header.html file: http://www.netlusive.com/demo/messageboard/index.php -Randy
  3. I took your header.html page and place it on my system ..changed the database connection to connect to my test database, commented out the session_save_path line ... and I had to move the closing php tag ( ?> ) up .. and it worked fine for me ... I would try placing the closing php tag up after line 132 in your header.html file right after your closing </form></p> html tags. I tested this on a Windows / IIS system .. so this change may or may not work for you if you at it appears you are on a linux system ? Also I would also .. (if you haven't already).. check to make sure of your database/tables character sets are correct so that the foreign characters will be dispalyed correctly. I set all of mine to be UTF-8. I also had to make sure my database connection was using UTF-8 when importing foreign characters into the tables in the database. -Randy
×
×
  • Create New...