Jump to content
MakeWebGames

Recommended Posts

Posted

ok look i converted like said require glob func to include globals.php";

then the mysql_ to the $db-> anbd the fetch_array to fetch_row and when im done i get this and this is on like 10

 

Parse error: syntax error, unexpected T_IF in /home/gangster/public_html/polls_view.php on line 10

 

 

if($_SESSION['loggedin']==0) { header("Location: login.php");exit; }

wtf do i do something in header or something[/color]

Posted

Re: omg wtf i dont get it

There is nothing wrong with that code you gave us, we need more lines, and yes it should be under DBS Code Support section.

Posted

Re: omg wtf i dont get it

search on here how to convert.....you have to remove all the top section NOT just the include global_func.

all that has to be removed and changed to include "globals.php";

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...