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.
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
The_Green_Ninja (18-Feb) : out of curiosity... did any ever by the Starr Favre and Rodgers photo... and has a good scanner?
uffda udfa (17-Feb) : NFL Network showing GB at Dallas. Packers programming all day.
uffda udfa (17-Feb) : Julius Peppers appears done with Packers per Demovsky.
Cheesey (16-Feb) : If the spot was so bad, he wouldnt still be going there.
uffda udfa (15-Feb) : Best of luck at your new fishing hole, Buck.
buckeyepackfan (15-Feb) : "they always do" "good luck with that" I said to him as I walked away and headed to my other favorite hole!
buckeyepackfan (15-Feb) : "Nah" he said , I'm much snarter than these fish, sooner or later they will start biting! They akways
buckeyepackfan (15-Feb) : "Maybe you should try another spot" I said to him each day.
buckeyepackfan (15-Feb) : Each day I asked him gow they were biting. "Not very well" was his reply each day
buckeyepackfan (15-Feb) : For the third day in a row, I went to my favorite fishing spot. The same guy was there everyday
uffda udfa (14-Feb) : Interesting. Why would he leave the team that has the greatest need at CB?
Zero2Cool (14-Feb) : Former Packers corner Bené Benwikere signs with Bengals, per report
Please sign in to use Fan Shout

2016 Packers Schedule
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 @ 3:25 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 @ 7:30 PM
at Lions

Think About It
Think About It

Recent Topics
23m / Green Bay Packers Talk / Zero2Cool

2h / Green Bay Packers Talk / Cheesey

3h / Green Bay Packers Talk / uffda udfa

18h / Green Bay Packers Talk / wpr

22h / Community Welcome! / wpr

19-Feb / Green Bay Packers Talk / DoddPower

19-Feb / Green Bay Packers Talk / uffda udfa

19-Feb / Green Bay Packers Talk / uffda udfa

19-Feb / Green Bay Packers Talk / Cheesey

19-Feb / Around The NFL / uffda udfa

18-Feb / Green Bay Packers Talk / Barfarn

17-Feb / Green Bay Packers Talk / sschind

17-Feb / Green Bay Packers Talk / warhawk

17-Feb / Green Bay Packers Talk / yooperfan

17-Feb / Green Bay Packers Talk / TedThompsonsShades


Packers Headlines