Jump to content

riverdiggidy

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by riverdiggidy

  1. I am createing a simply quiz site, where in order to participate in the quiz, you must first be logged in. While working on my local machine, the code works perfectly. I use the followin to create a session ID; $_SESSION['SESS_ID'] = $member['id']; Then, on my main page where i want dynamic code i include the following; if(!isset($_SESSION['SESS_ID']) || (trim($_SESSION['SESS_ID']) == '')) { print (" <div style='float:left; width:400px; height:215px; margin-left:500px;'> <form class='login' method='post' action='login-form.php' style='float:right; margin-top:120px;' > <input type='submit' class='button' name='submit' value='Sign In' style='float:right ; margin-right:20px;'> </form> <p style=' margin-top:170px; margin-left:160px;'>New Member? Start <a href='register-form.php'>Here</a></p> </div> " ); } else { print "<h4 style='float:right; text-align: right; margin-top:150px; margin-right:50px;'>Welcome ". $_SESSION['SESS_NAME']. " <a href='logout.php' style='float:right; text-align:right;'>Sign Out</a></h4> "; For some reason, when the site is on the server, the session ID does not seam to get passed along. Any Ideas how to remediy this? the website is kingdomquiz.com if anybody is interested.
  2. HI Guys, So i am a newbie and getting my feet wet. I have Apache and MySQL up and running just the way they should on my computer. I have used both PHPMyAdmin and navicat to create my own little databases, however the issue i am running into is this. I am following along with a tutorial site and several databases have been provided. I have put them in the correct root folder and they load up fine. But when i try to make any kind of changed to these databases i get an error message that says the following ERROR #1036- Table "X" is read only. I have not set up any preferences as to how you can read and write to any table. I have changed everyhing i know how to change from read only to read and write, but i still can not make any changes to these databases. Any Ideas? This is driving me crazy. Thanks
×
×
  • 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.