Green Bay Packers Forum

Welcome to your Green Bay Packers Online Community!

Since 2006, PackersHome has been providing a unique experience for fans.
Your participation is greatly anticipated!
Login or Register.
3 Pages<123
Options
Go to last post Go to first unread
Offline Zero2Cool  
#21 Posted : Saturday, October 23, 2010 4:02:16 AM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,325
Applause Received: 3,591
It'd be ASP.NET w/MVC2 not ASP. I thought MVC2 was only available with ASP.NET.
Offline djcubez  
#22 Posted : Saturday, October 23, 2010 10:23:29 PM(UTC)
Rank: Senior Member

FleaFlicker Fantasy Football - Gold: 2014

Joined: 8/7/2008(UTC)
Location: Madison
Applause Given: 11
Applause Received: 17
" said: Go to Quoted Post
Code:

&lt;?php

// $delete_query = "DELETE ?????FROM posts WHERE id='$postID'";
		// mysql_query($delete_query);
		$nonmemberposts++;	
?&gt;


wouldn't work if it wasn't commented out, this would cause an error, not telling what you want to delete.

why don't you just delete id #2, the whole row? if you are using auto increment for the id field, it wouldn't let you delete the row unless you delete the id


I explicitly stated in post why I had it commented out and that it wouldn't work unelss you removed the comments. That MySQL statement is also 100% correct it would delete the entire row for that post.
Offline dhpackr  
#23 Posted : Saturday, October 23, 2010 11:09:19 PM(UTC)
Rank: Registered

Joined: 12/12/2007(UTC)
Applause Given: 36
Applause Received: 36
I stand corrected, great job.
Offline djcubez  
#24 Posted : Monday, October 25, 2010 8:01:47 PM(UTC)
Rank: Senior Member

FleaFlicker Fantasy Football - Gold: 2014

Joined: 8/7/2008(UTC)
Location: Madison
Applause Given: 11
Applause Received: 17
" said: Go to Quoted Post
I stand corrected, great job.


Sorry I had no intention of being a prick if I did come off that way :) It's always nice to have another person look through your code anyway to give some feedback.
Rss Feed 
Users browsing this topic
Guest
3 Pages<123
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error


Fan Shout
Zero2Cool (21h): I have a habit of hitting tab then space bar lol
Pack93z (21h): .... and yes, that was a retyped message cause the user hit the enter key.. lol
Pack93z (21h): It really isn't that big of a deal, more of a user problem that can't remember to stop and click in place of hitting a key... and yes, this
Zero2Cool (21h): And it also won't do a full page refresh either.
Zero2Cool (21h): I have to toss in an UpdatePanel and dedicate Enter to it for submission, then it will work.
Zero2Cool (21h): nerdmann went bonkers with creating topics so we had to slow him down a tad lol
Pack93z (21h): If I gotta field questions all week from this user base at work... going to share the "love".
Pack93z (21h): There... that should miff Zero for a couple of seconds... ;)
Pack93z (21h): Also.. when posting in the fan shout... why can't I hit the enter key to post a message?
Pack93z (21h): What is this 5 minute wait cycle to create articles from the headlines... can't I spam them like hotcakes?
Mucky Tundra (27-Jul): haha
Zero2Cool (27-Jul): Crap, another meeting! Ugh!
Zero2Cool (27-Jul): Check in already! We waiting on YOU!!!
Pack93z (27-Jul): YES :)
Pack93z (27-Jul): --- KEVIN ----
Mucky Tundra (27-Jul): of the Dead?
Zero2Cool (27-Jul): --- SHAWN ---
Cheesey (25-Jul): Me neither. He did virtually nothing after he left the Packers.
Zero2Cool (25-Jul): WR Greg Jennings retires. I think I should be surprised, but I'm not.
Cheesey (23-Jul): It's sad, he was young.
wpr (22-Jul): Sorry to hear about Dennis passing away.
Zero2Cool (22-Jul): Hopefully people respect his passing without trying to make jokes.
Zero2Cool (22-Jul): Damn, Dennis Green passed away.
Zero2Cool (22-Jul): Bahahahah
Smokey (16-Jul): Playing 2016 Fantasy Football ? NO ? Contact me to join the Tailgaters Fantasy Football League !
wpr (15-Jul): Happy birthday since69
Zero2Cool (15-Jul): Whoa!Today's Birthdays: Since69 (51)
Zero2Cool (15-Jul): No sir. But at work we had our A/C go out, not fun lol
Smokey (14-Jul): Did recent bad weather affect you Zero ? ie: loss of electricity ?
Zero2Cool (14-Jul): stay cool bud ... thats some hot crap there
Smokey (14-Jul): Heat Index 104* : Richmond , VA.
Zero2Cool (14-Jul): Richard Rodgers and Aaron Rodgers win ESPY for play of year!! Wohooo
Smokey (14-Jul): A.Rodgers wins ESPY for Hail Mary Play .
Smokey (14-Jul): The ESPY's are ON !
Cheesey (13-Jul): Yeah...stinky cheese, for sure!
Please sign in to use Fan Shout

Road To Super Bowl LI
Sunday, Sep 11 @ 12:00 PM
at Jaguars
Sunday, Sep 18 @ 7:30 PM
at Vikings
Sunday, Sep 25 @ 12:00 PM
LIONS
Sunday, Oct 2 @ 12:00 AM
BYE
Sunday, Oct 9 @ 7:30 PM
GIANTS
Sunday, Oct 16 @ 3:25 PM
COWBOYS
Thursday, Oct 20 @ 7:25 PM
BEARS
Sunday, Oct 30 @ 12:00 PM
at Falcons
Sunday, Nov 6 @ 3:25 PM
COLTS
Sunday, Nov 13 @ 12:00 PM
at Titans
Sunday, Nov 20 @ 7:30 PM
at Redskins
Monday, Nov 28 @ 7:30 PM
at Eagles
Sunday, Dec 4 @ 12:00 PM
TEXANS
Sunday, Dec 11 @ 3:25 PM
SEAHAWKS
Sunday, Dec 18 @ 12:00 PM
at Bears
Saturday, Dec 24 @ 12:00 PM
VIKINGS
Sunday, Jan 1 @ 12:00 PM
at Lions

Think About It
Think About It

Recent Topics
7m / Green Bay Packers Talk / DarkaneRules

2h / Green Bay Packers Talk / nerdmann

5h / Green Bay Packers Talk / Zero2Cool

5h / Green Bay Packers Talk / sschind

9h / Green Bay Packers Talk / nerdmann

9h / Green Bay Packers Talk / nerdmann

10h / Green Bay Packers Talk / musccy

12h / Green Bay Packers Talk / DakotaT

15h / Green Bay Packers Talk / PackFanWithTwins

15h / Green Bay Packers Talk / PackFanWithTwins

20h / Green Bay Packers Talk / Zero2Cool

21h / Fantasy Sports Talk / Zero2Cool

21h / Green Bay Packers Talk / Zero2Cool

28-Jul / Green Bay Packers Talk / steveishere

27-Jul / Around The NFL / beast


Packers Headlines