Need help fast will pay through paypal
Moderator: General Moderators
Need help fast will pay through paypal
I am starting a basketball contest today. I had a programmer write a script for me. The script displays the betting lines for today basketball games and you are suppose to pick 3 choices. When I make my pick for todays games it says that the game already started even though it doesnt start for another 10 hours and it doesn't let you make your selection.
Here is the link to make your picks http://www.gridirontalk.com/nba/place_bet.php
userid: pito
password: wilson
You can log in to make a pick using that test account.
Thanks whoever can help me out please let me knowhow much and I will pay through paypal.
Also I need someone to write up a script for me for a nascar contest at a later date
Here is the link to make your picks http://www.gridirontalk.com/nba/place_bet.php
userid: pito
password: wilson
You can log in to make a pick using that test account.
Thanks whoever can help me out please let me knowhow much and I will pay through paypal.
Also I need someone to write up a script for me for a nascar contest at a later date
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
Looks like it maybe a register_globals problem. Your server is running 4.3.3 and register_globals is Off by default.
To check create a php file with the following in it.
<?php phpinfo() ?>
and search down to find the register_globals line, if it's Off then you'll either need to edit php.ini and turn them on (and restart apache) or make some changes to the script...
I'd investigate the register_globals thing first before contemplating script changes
Actually...
After i typed all that i realised that your login page seems to work ok, so register_globals probably isn't an issue.
To check create a php file with the following in it.
<?php phpinfo() ?>
and search down to find the register_globals line, if it's Off then you'll either need to edit php.ini and turn them on (and restart apache) or make some changes to the script...
I'd investigate the register_globals thing first before contemplating script changes
Actually...
After i typed all that i realised that your login page seems to work ok, so register_globals probably isn't an issue.
Edit line 73 so it reads...
$query1 = mysql_query("SELECT * FROM nba_bets WHERE userid='$userid' AND left(game_time,10)='$game_date'") or die(mysql_error());
and edit line 83 so it's
$query = mysql_query("SELECT DATE_FORMAT(DATE_ADD(game_time,INTERVAL 3 HOUR),'%Y%m%d%H%i') gt,game_time,home_line,away_line FROM nba_games WHERE ID='$bet_parts[2]'") or die(mysql_error());
and let us know what it says.
$query1 = mysql_query("SELECT * FROM nba_bets WHERE userid='$userid' AND left(game_time,10)='$game_date'") or die(mysql_error());
and edit line 83 so it's
$query = mysql_query("SELECT DATE_FORMAT(DATE_ADD(game_time,INTERVAL 3 HOUR),'%Y%m%d%H%i') gt,game_time,home_line,away_line FROM nba_games WHERE ID='$bet_parts[2]'") or die(mysql_error());
and let us know what it says.
But the message is "Table 'gridiron_forums.nba_bets' doesn't exist" .. so it's trying to find nba_bets in the gridiron_forums database.
The only place gridiron_forums is used in your code is when logging in, so it looks to me like
mysql_select_db('gamemint_nba'); on line 68 should be
mysql_select_db('gridiron_nba');
I'm sending you important info in a private message, act on it before you do anything else :p
The only place gridiron_forums is used in your code is when logging in, so it looks to me like
mysql_select_db('gamemint_nba'); on line 68 should be
mysql_select_db('gridiron_nba');
I'm sending you important info in a private message, act on it before you do anything else :p