NEW #31
Avatar
Zero2Cool Elite Member
Joined: Oct 14, 2006
Posts: 44,952
Avatar
Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
Crap, I work mon-fri 7a - 5p give or take a half hour.


Little touch on the submitting picks thing. I'd like the validation to be checked when the picks are submitted. I think can I code that, but once all picks are submitted I'd like it to go to a page say "picks.php" or something that displays that week's selections for that user.
0
SlickVision, Methodikal, Kevin and 5 others
NEW #32
Avatar
Zero2Cool Elite Member
Joined: Oct 14, 2006
Posts: 44,952
Avatar
Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
Okay, it's coming close to 4am ... I have to get some sleep.

Once I figure a few things out, I'll be dangerous!

You can click HERE to see the main page with all the weeks and current standings.

I need to figure out how to, when '1' or '2' or '17' is clicked that it displays that page in its place. Not as easy as HTML with frames. Damn!!!
0
SlickVision, Methodikal, Kevin and 5 others
NEW #33
Avatar
dhpackr Registered
Joined: Dec 12, 2007
Posts: 963
Avatar
dhpackr
Registered
Joined:Dec 12, 2007
Posts:963
i can't do anything, it errors out.

but i think ur going to have to pass some values through a function.

probably use javascript and a function to a click.
0
SlickVision, Methodikal, Kevin and 5 others
NEW #34
Avatar
Zero2Cool Elite Member
Joined: Oct 14, 2006
Posts: 44,952
Avatar
Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
"dhpackr"i can't do anything, it errors out.

but i think ur going to have to pass some values through a function.

probably use javascript and a function to a click.


What errors? I know when you click the '1' link it gives an error, that's the issue I'm at right now, lol.

You should be able to see the main page that displays the totals though.
0
SlickVision, Methodikal, Kevin and 5 others
NEW #35
Avatar
Zero2Cool Elite Member
Joined: Oct 14, 2006
Posts: 44,952
Avatar
Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
Figured out how to link between pages in a module, but now when I hit the Submit button for my picks, I get an error.

talk about taking baby steps ...
0
SlickVision, Methodikal, Kevin and 5 others
NEW #36
Avatar
dhpackr Registered
Joined: Dec 12, 2007
Posts: 963
Avatar
dhpackr
Registered
Joined:Dec 12, 2007
Posts:963
"Zero2Cool"Figured out how to link between pages in a module, but now when I hit the Submit button for my picks, I get an error.

talk about taking baby steps ...


what is the error?? php can be tuff to find errors. you can use a echo sql command to find your error
0
SlickVision, Methodikal, Kevin and 5 others
NEW #37
Avatar
Zero2Cool Elite Member
Joined: Oct 14, 2006
Posts: 44,952
Avatar
Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
You can check it out. On the left side bar, under Special Features > NFL Picks > 1 and click submit. Something about forbidden characters in my link.

When I run the file outside of the website, it works. When I run it inside of the website, it throws a security issues.
0
SlickVision, Methodikal, Kevin and 5 others
NEW #38
Avatar
dhpackr Registered
Joined: Dec 12, 2007
Posts: 963
Avatar
dhpackr
Registered
Joined:Dec 12, 2007
Posts:963
just off the top of my head, w/o looking at any thing but what u posted.

if by chance, this is a secure web page beginning in https, then every link, every image must be secures as well.

you can not have a page that begins https and have a link to http on that page, it will throw an error.

i got a 404 error. it can't find the page. is this page in a different folder?

you may have to add a ../ to your link to move up a folder just like vb.net.

also if you have the word "AND" "OR" A SINGLE QUOTE can throw an error. Delete single quotes like Zero's picks. make sure the word and or are enclosed in quotes.
0
SlickVision, Methodikal, Kevin and 5 others
NEW #39
Avatar
Zero2Cool Elite Member
Joined: Oct 14, 2006
Posts: 44,952
Avatar
Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
I was using a & in the link and that is what was killing it.
I'm good now. Working on setting things up to work dynamically now.
0
SlickVision, Methodikal, Kevin and 5 others
NEW #40
Avatar
Zero2Cool Elite Member
Joined: Oct 14, 2006
Posts: 44,952
Avatar
Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
Argh ... I can't understand dj's code he posted. lol

I want it to cycle through all the selections. Ensure that all 16 have been selected. If so, then send each pick to the db one by one. If not, echo to the user as such.

But I'm not sure what the hell his code is doing! lol
0
SlickVision, Methodikal, Kevin and 5 others