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 (14h) : A "Forged in Fire" wash out ? LOL
Cheesey (15h) : Zero got cut??? I TOLD him not to play with knives!
uffda udfa (16h) : Spriggs to IR.
uffda udfa (18h) : Nick Perry having surgery on finger likely out this week.
Zero2Cool (19h) : Ravens add RB John Crockett from the practice squad to active.
Zero2Cool (22h) : No Cobb this sunday??
buckeyepackfan (21-Sep) : Was a nice run Zero, always that chance they bring you back! :)
Zero2Cool (21-Sep) : I did.
gbguy20 (20-Sep) : francois is back. so who got cut?
Zero2Cool (20-Sep) : Football Sunday at 8:30AM CT ...nice
beast (20-Sep) : Would of had to give us a draft pick if they kept him. They just wanted him until someone else got off a suspension.
gbguy20 (20-Sep) : surprised they didn't keep him until they played us
Zero2Cool (19-Sep) : Cowboys have waived linebacker Jayrone Elliott, who was acquired in a trade from the Green Bay Packers
Zero2Cool (19-Sep) : ClayMatthews52 is awfully close to setting the #Packers all-time sack record.
uffda udfa (19-Sep) : Pelissero: Banged up on o-line, #Packers worked out 3 today, per source: Fahn Cooper, Givens Price and Brandon Thomas.
Zero2Cool (19-Sep) : Yup, PFT flips to whatever gets clickys
Zero2Cool (19-Sep) : Reuben Foster (ankle) sheds walking boot (and some wanted him as a Packers player!)
gbguy20 (19-Sep) : pft was raving abot gb last week
Zero2Cool (19-Sep) : Bash packers = ratings. nothing more. unreal how dumb some places are
Zero2Cool (19-Sep) : PFT is stupid
uffda udfa (19-Sep) : from pft.com rankings: 6. Packers (1-1; No. 1): Take away Rodgers, and the Packers wouldn’t win a game.
uffda udfa (19-Sep) : Yes. Sorry.
Zero2Cool (19-Sep) : "We are hypnotized by the talent of Aaron Rodgers" | @ColinCowherd
Zero2Cool (19-Sep) : another damn hurricane???
wpr (19-Sep) : So you are saying Jordy is 150-150 for Sunday U2?
uffda udfa (19-Sep) : Jordy 50-50 for Sunday per Schefter.
uffda udfa (19-Sep) : Jordy 50-50 for Sunday per Schefter.
uffda udfa (19-Sep) : Jordy 50-50 for Sunday per Schefter.
Zero2Cool (19-Sep) : Kidding, you might be right. I don't know.
Zero2Cool (19-Sep) : hahaha no
steveishere (19-Sep) : yeah after he was lined up inside
Zero2Cool (19-Sep) : He did get some hurries and QB hits Sunday night though
Zero2Cool (19-Sep) : I'd rather he just killed QB's than left.
wpr (19-Sep) : well the good news is CM3 only has 1 more yr left on his contract.
Zero2Cool (19-Sep) : Clay is useless in middle. Barely better outside.
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
5h / Green Bay Packers Talk / DoddPower

14h / Green Bay Packers Talk / nerdmann

14h / Green Bay Packers Talk / nerdmann

15h / Around The NFL / Cheesey

17h / Green Bay Packers Talk / DoddPower

21h / Green Bay Packers Talk / wpr

20-Sep / Green Bay Packers Talk / nerdmann

20-Sep / Green Bay Packers Talk / yooperfan

20-Sep / Green Bay Packers Talk / wpr

20-Sep / Green Bay Packers Talk / wpr

19-Sep / Green Bay Packers Talk / Poppa San

19-Sep / Green Bay Packers Talk / Dulak

19-Sep / Green Bay Packers Talk / Zero2Cool

18-Sep / Green Bay Packers Talk / nerdmann

18-Sep / Green Bay Packers Talk / Zero2Cool

Headlines