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
gbguy20 (20-Apr) : you're probably right
TheKanataThrilla (19-Apr) : I was thinking Dez gbguy20
gbguy20 (19-Apr) : Bmarsh cut. preparing for obj extension?
Zero2Cool (19-Apr) : Week 1: at Packers — Sept. 9 (SNF)
Cheesey (19-Apr) : I don't know. I don't have HBO. I only have regular BO.
Smokey (19-Apr) : Who is HBO's 2018 "Hard Knocks" team ?
Zero2Cool (17-Apr) : Jimmy Graham on choosing Packers -- Why Green Bay instead of New Orleans? "#12 is hungry
DarkaneRules (17-Apr) : When he talked about missing guys he didn't mentioned Greg Jennings :)
Zero2Cool (17-Apr) : it won't though. thus, off-season = hate season
gbguy20 (17-Apr) : these quotes from arod should shut people up
Zero2Cool (17-Apr) : Jimmy Graham on whether he's still the same Jimmy Graham: "I'm still 6-foot-7 and still run a 4.55 (40)."
Zero2Cool (17-Apr) : TE Jimmy Graham said he turned down a lot of money to sign with a team he said he feels can win it all. “12 is hungry,” he said.
Zero2Cool (17-Apr) : Aaron Rodgers on potential extension with Packers: "There's interest on both sides in getting something done"
Zero2Cool (17-Apr) : "You have to trust the process. And the process works." Aaron Rodgers
Zero2Cool (15-Apr) : I think Barkley would be crazy good with Aaron Rodgers.
porky88 (15-Apr) : If the Packers trade into the top 10, I think it's for Saquan Barkley.
buckeyepackfan (15-Apr) : Lololol
buckeyepackfan (15-Apr) : Need to use this statement "The Packers have wasted enough years of AR's career"
TheKanataThrilla (14-Apr) : New GM with a new qb. History repeats.
TheKanataThrilla (14-Apr) : I had that fuck that idea about Rodgers..turns out I was wrong.
gbguy20 (14-Apr) : fuck that idea.
TheKanataThrilla (14-Apr) : Rosen?
Nonstopdrivel (14-Apr) : An unnamed source told Daniel Jeremiah the Packers will trade into the top ten to snag a quarterback.
Zero2Cool (13-Apr) : The #Cowboys have released WR Dez Bryant, source said. It’s done.
Zero2Cool (13-Apr) : Sources: Cowboys expected to release Bryant The Cowboys, who are meeting with Dez Bryant on Friday, plan on "moving on" and release the star receiver, sources told ESPN
Zero2Cool (12-Apr) : Today's Birthdays: ThePrey (29)
Nonstopdrivel (11-Apr) : I'm easily offended.
Zero2Cool (11-Apr) : but, if you're easily offended, stay the hell out
Zero2Cool (11-Apr) : for some good laughs, read Let's Offend Everyone! in The Back Alley
gbguy20 (11-Apr) : give him a prove it deal here for that money. ridiculous
Zero2Cool (9-Apr) : I think he wanted a prove it year, to cash in next season.
Nonstopdrivel (9-Apr) : Detail in Patriots' deal with WR Jordan Matthews shows the bargain: one-year, $1 million, plus $700K in incentives. Only $170K is guaranteed.
Porforis (9-Apr) : You're my favorite customer.
Nonstopdrivel (9-Apr) : Oh, hi, Mark.
TheKanataThrilla (8-Apr) : I like our current RBs. If we have an injury or 2 maybe sign Lacy on a cheap 1 year deal.
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
52m / Green Bay Packers Talk / isocleas2

57m / Green Bay Packers Talk / isocleas2

2h / Green Bay Packers Talk / Nonstopdrivel

20-Apr / Green Bay Packers Talk / warhawk

20-Apr / Green Bay Packers Talk / buckeyepackfan

20-Apr / Green Bay Packers Talk / Cheesey

19-Apr / Green Bay Packers Talk / Cheesey

19-Apr / Green Bay Packers Talk / Cheesey

18-Apr / Green Bay Packers Talk / sschind

17-Apr / Green Bay Packers Talk / Cheesey

17-Apr / Green Bay Packers Talk / wpr

16-Apr / Green Bay Packers Talk / warhawk

15-Apr / Green Bay Packers Talk / Cheesey

15-Apr / Around The NFL / Cheesey

13-Apr / Green Bay Packers Talk / dhazer

Headlines