iR00T Posted May 16, 2008 Share Posted May 16, 2008 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] Quote Link to comment Share on other sites More sharing options...
Danny Posted May 16, 2008 Share Posted May 16, 2008 Re: omg wtf i dont get it that bbcode! u need html Quote Link to comment Share on other sites More sharing options...
SaMz Posted May 16, 2008 Share Posted May 16, 2008 Re: omg wtf i dont get it This Topic Should Be Under Dbs/Mccode Section Under Support Quote Link to comment Share on other sites More sharing options...
XCU53S Posted May 16, 2008 Share Posted May 16, 2008 Re: omg wtf i dont get it LOL bbcode HTML are similar though <> you use them instead Quote Link to comment Share on other sites More sharing options...
Ishy Posted May 16, 2008 Share Posted May 16, 2008 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. Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 16, 2008 Share Posted May 16, 2008 Re: omg wtf i dont get it He attempted to convert from v1 to v2 and failed as he didn't do it completely! There are a few topics telling you have to convert both ways! Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted May 17, 2008 Share Posted May 17, 2008 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"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.