Jump to content
MakeWebGames

Recommended Posts

Posted

You mean a database connection>

You don't really need to specify it in mysql queries unless you're connecting to more than one database at a time. Otherwise it just uses an existing connection you made on the page.

Posted

thought it was just $connect ? but like zeggy said you dont need to use it on queries unless you're connecting to more than one database at a time.

think it can be found in connect.php

Posted

Connect.php - This handles the initial database connection and the creation of a user session.

Safe.php - This file then runs once a user has logged in and will check the users sessions credentials and if none exist or they do not corrispond with the stored data for that user it will redirect them to index.php and close the session.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...