Discussion Board
Welcome Guest! You can login or register. Login or Register.
2 Pages<12

Options
Go to last post Go to first unread
Zero2Cool  
#21 Posted : Saturday, October 23, 2010 4:02:16 AM(UTC)
It'd be ASP.NET w/MVC2 not ASP. I thought MVC2 was only available with ASP.NET.
djcubez  
#22 Posted : Saturday, October 23, 2010 10:23:29 PM(UTC)
" 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.
dhpackr  
#23 Posted : Saturday, October 23, 2010 11:09:19 PM(UTC)
I stand corrected, great job.
djcubez  
#24 Posted : Monday, October 25, 2010 8:01:47 PM(UTC)
" 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
2 Pages<12
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
Smokey (7h) : Don't look back, I'm gaining beast ! LOL
beast (8h) : Thanks Smokey!
Zero2Cool (11h) : I'm not confident vs Steelers. But they are up/down a lot.
dhazer (12h) : I actually had a Steeler fan ask me why the stadium was still packed at the end of the game on Sunday. I said we back our team no matter wha
dhazer (12h) : Kevin we will beat that this week lol
Zero2Cool (14h) : Cowboys have one touchdown in 2 games. One TD in 22 possessions. One
Smokey (16h) : Nice Week 11 Pick'em beast , salute !
hardrocker950 (21-Nov) : No late game heroics for Seattle tonight
yinzer (21-Nov) : You can do much worse than having the Steelers as your favorite team... that being said, Go Steelers!
uffda udfa (21-Nov) : Gilbert is/was their starting RT.
Zero2Cool (20-Nov) : Steelers OT Marcus Gilbert suspended four games for violating performance-enhancing substance policy.
Zero2Cool (20-Nov) : and my 1st favorite team.
Zero2Cool (20-Nov) : Packers are my 2nd favorite team.
uffda udfa (20-Nov) : Are Steelers your 2nd favorite team? I know you live the Pens and are from there.
Zero2Cool (20-Nov) : Steelers are league-best 4-1 vs. teams who currently have a winning record.
uffda udfa (20-Nov) : Kenny Clark x-rays were negative. Says he's fine.
Zero2Cool (20-Nov) : "I believe in Brett Hundley," McCarthy conclude. Quick, check coach for concussion!
Zero2Cool (20-Nov) : RB Aaron Jones was arrested in October for marijuana, driving without a license, and speeding.
Zero2Cool (20-Nov) : NFL Receiver Terry Glenn Has Died in a Car Accident
Zero2Cool (20-Nov) : @BenFennell_NFL Not to be overlooked...
Zero2Cool (20-Nov) : Packers run defense lately has been outstanding Since Nov 1 (3 games)... 59.0 YPG (3rd in NFL) and 2.33 YPC (2nd in NFL)
beast (20-Nov) : See you are troll, your true colors are showing
uffda udfa (20-Nov) : Charles Manson dead at 83.
uffda udfa (20-Nov) : At least Cleveland was the road team when Baltimore shut them out.
uffda udfa (20-Nov) : We shouldn't feel bad about being shutout by BAL. CLE was shutout by them, too.
uffda udfa (20-Nov) : Davante was a huge surprise. Ravens are tough to throw it on.
beast (20-Nov) : I don't know... Mays and Spriggs did a good job of looking offensive too!
Zero2Cool (20-Nov) : Only offensive player to come out looking good is Davante Adams.
uffda udfa (20-Nov) : He ain't changing from Hundley. Trying way too hard to prove it was right to go with him all along.
greengold (19-Nov) : A HC would say that today even if he planned to start Callahan next week.
Nonstopdrivel (19-Nov) : Yeah, well, there are plenty of people who believe in fairies and leprechauns too.
uffda udfa (19-Nov) : MM sticking with Hundley. Said he believes in him.
TheKanataThrilla (19-Nov) : Hayward with another INT 2nd of the day
Zero2Cool (19-Nov) : Martellus quit on Packers and this week they followed his lead. Offense anyway.
Nonstopdrivel (19-Nov) : Clark left with an ankle injury apparently.
Please sign in to use Fan Shout
2017 Packers Schedule
Sunday, Sep 10 @ 3:25 PM
SEAHAWKS
Sunday, Sep 17 @ 7:30 PM
at Falcons
Sunday, Sep 24 @ 3:25 PM
BENGALS
Thursday, Sep 28 @ 7:25 PM
BEARS
Sunday, Oct 8 @ 3:25 PM
at Cowboys
Sunday, Oct 15 @ 12:00 PM
at Vikings
Sunday, Oct 22 @ 12:00 PM
SAINTS
Sunday, Oct 29 @ 12:00 AM
- BYE -
Monday, Nov 6 @ 7:30 PM
LIONS
Sunday, Nov 12 @ 12:00 PM
at Bears
Sunday, Nov 19 @ 12:00 PM
RAVENS
Sunday, Nov 26 @ 7:30 PM
at Steelers
Sunday, Dec 3 @ 12:00 PM
BUCCANEERS
Sunday, Dec 10 @ 12:00 PM
at Browns
Sunday, Dec 17 @ 12:00 PM
at Panthers
Saturday, Dec 23 @ 7:30 PM
VIKINGS
Sunday, Dec 31 @ 12:00 PM
at Lions
Think About It
Think About It
Recent Topics
47m / Green Bay Packers Talk / Barfarn

1h / Green Bay Packers Talk / beast

2h / Green Bay Packers Talk / uffda udfa

3h / Green Bay Packers Talk / beast

4h / Green Bay Packers Talk / uffda udfa

4h / Green Bay Packers Talk / beast

4h / Green Bay Packers Talk / beast

7h / Green Bay Packers Talk / wpr

10h / Green Bay Packers Talk / Zero2Cool

12h / Green Bay Packers Talk / bboystyle

12h / Green Bay Packers Talk / Zero2Cool

16h / Green Bay Packers Talk / MintBaconDrivel

20-Nov / Green Bay Packers Talk / nerdmann

20-Nov / Green Bay Packers Talk / beast

20-Nov / GameDay Threads / nerdmann

Headlines