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
buckeyepackfan (14h) : Cavs!!!!!
Cheesey (17h) : POLAR BEARS!!!!???lol!
Zero2Cool (26-May) : PENGUINS!!!!
Zero2Cool (24-May) : Sad about Cortez Kennedy. I remember playing him in Tecmo (beast!)
Cheesey (23-May) : RIP Cortez Kennedy
Smokey (23-May) : R.I.P.Sir Rodger (007) Moore .
Smokey (23-May) : Try Fish
Porforis (22-May) : Chicken 4 dayz!
gbguy20 (22-May) : Agreed
Smokey (21-May) : Yes, I like Chick-fil-a .
Smokey (21-May) : Rabid Chicken ? LOL
rabidgopher04 (21-May) : Chick fil a
Zero2Cool (20-May) : Penguins & Bad Guys Tied 2 apiece! LETS GO PENS!
Smokey (20-May) : Who sells the best Chicken Sandwich ? Wendy, the King, McD, etc. ?
Smokey (20-May) : Just Visiting ? Join and post today !
Zero2Cool (18-May) : Screw you. (signed Pens fan)
TheKanataThrilla (18-May) : Go Sens!!! Will be in the crowd for the Friday game.
Smokey (18-May) : E.Lacy makes weight in Seattle by 2 lbs. (253 lbs.)
buckeyepackfan (17-May) : Blount signs 1 year deal with Eagles.
DarkaneRules (14-May) : and still! Miocic & Jedrzejczyk
Zero2Cool (13-May) : RP ... you mean Go Pens ... I fix for you.
RaiderPride (13-May) : Gotta Love P.K. T.K.T. I agree.. Go Preds.
Smokey (12-May) : CB Kevin King signs 4 yr deal, no 5th year option .
TheKanataThrilla (12-May) : Go Nashville in the West
TheKanataThrilla (12-May) : My son is wearing his Mario Lemieux Pens shirt and my daughter is wearing he Sens shirt. We win no matter what.
Zero2Cool (11-May) : Aaron Nagler:Packers announce first training camp practice to be held Thursday, July 27
Zero2Cool (11-May) : Capitals are dirty weak trash.
Zero2Cool (11-May) : NHL is great! PENGUINS!!!!
yooperfan (10-May) : Screw the NBA and the NHL, neither are worth watching!
wpr (10-May) : hahaha. Poor Bettman. Worth the price to see it.
TheKanataThrilla (10-May) : Bettman would blow a gasket if it was an all-Canadian finals. I want Nashville as I am a huge Mike Fisher fan.
Smokey (10-May) : Cheap Shot ? I think not .
wpr (10-May) : Thrilla how about an all Canada Finals?
TheKanataThrilla (10-May) : Pens tomorrow. Screw you Caps for the cheap shot on Crosby.
TheKanataThrilla (10-May) : Go Sens. Want to see the Sens pull it out tomorrow.
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
Saturday, Dec 23 @ 7:30 PM
VIKINGS
Sunday, Dec 31 @ 12:00 PM
at Lions
Saturday, Dec 17 @ 12:00 PM
at Panthers
Think About It
Think About It
Recent Topics
13h / Green Bay Packers Talk / beast

17h / Green Bay Packers Talk / yooperfan

25-May / Fantasy Sports Talk / Smokey

25-May / Around The NFL / Cheesey

25-May / Green Bay Packers Talk / wpr

23-May / Green Bay Packers Talk / Smokey

22-May / Green Bay Packers Talk / nerdmann

22-May / Green Bay Packers Talk / Smokey

21-May / Packers Draft Threads / Smokey

20-May / Green Bay Packers Talk / Smokey

19-May / Green Bay Packers Talk / sschind

19-May / Green Bay Packers Talk / sschind

18-May / Green Bay Packers Talk / Smokey

18-May / Green Bay Packers Talk / hardrocker950

18-May / Green Bay Packers Talk / Smokey

Headlines