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) : Guest ? Join us Today !
Smokey (14h) : Saturday , it's PIZZA NIGHT !
Smokey (23-Jun) : Friday is Seafood day , not Pizza night . Eat a Shrimp !
Cheesey (23-Jun) : Happy B-day rocker!
Zero2Cool (22-Jun) : Today's Birthdays: hardrocker950 (33)
Smokey (22-Jun) : Coffee anyone ?
Smokey (21-Jun) : good show
Cheesey (21-Jun) : APPLE with ice cream!
Smokey (20-Jun) : Cherry with Vanilla Ice Cream !!
Cheesey (20-Jun) : APPLE!
Smokey (20-Jun) : Apple or Cherry Pie ?
TheKanataThrilla (18-Jun) : The only have 2 preseason games. I like that as the fans get to see more of the starters.
TheKanataThrilla (18-Jun) : Next week I believe the CFL season starts. Go Redblacks!!!
Smokey (18-Jun) : Been researching CFL , Edmonton Eskimos have the best colors/uniforms .
Smokey (18-Jun) : When does the CFL Season start anyway ?
Smokey (18-Jun) : Saw Flute CFL highlights in the day, full CFL game was /is rare .
TheKanataThrilla (18-Jun) : I wish many of you would have seen Doug Flutie in the CFL. Absolute beauty.
TheKanataThrilla (18-Jun) : Vince Young cut from Sask. Roughriders. Good for him to consider the CFL, but only a select few NFL QB castoffs are a good CFL fit.
Smokey (17-Jun) : R 2
Zero2Cool (17-Jun) : Not all hackers are bad
Smokey (16-Jun) : Public Hangings for Hackers .
Cheesey (16-Jun) : No, he said HACKERS!
Smokey (16-Jun) : Did you say Crackers ?
Zero2Cool (16-Jun) : PACKERS PACKERS PACKERS
Cheesey (16-Jun) : "That is true, my dear Smokey!"LOL!
Smokey (15-Jun) : dat ? Brer Cheesey ?
Cheesey (15-Jun) : True dat, Smokey. MUCH better!
Smokey (15-Jun) : I like the fillets/tenders, they usually are a better deal.
Cheesey (15-Jun) : Good one, Porforis! Made me laugh!
Porforis (15-Jun) : Shoulda gone with Kentucky Fried Chickadee
Cheesey (15-Jun) : Last time I had KFC, the pieces were so small it should be renamed "Kentucky Fried Sparrow"
Cheesey (15-Jun) : POPEYES! (Or Churches chicken)
Smokey (15-Jun) : KFC or Popeyes Chicken ?
Smokey (15-Jun) : It's grocery shopping day !
Smokey (15-Jun) : Why did they shelter ?
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
2h / Green Bay Packers Talk / beast

3h / Green Bay Packers Talk / wpr

4h / Green Bay Packers Talk / Smokey

15h / Green Bay Packers Talk / beast

15h / Green Bay Packers Talk / beast

16h / Green Bay Packers Talk / beast

24-Jun / Green Bay Packers Talk / beast

24-Jun / Green Bay Packers Talk / isocleas2

24-Jun / Around The NFL / beast

23-Jun / Green Bay Packers Talk / beast

23-Jun / Around The NFL / Smokey

23-Jun / Green Bay Packers Talk / sschind

23-Jun / Green Bay Packers Talk / sschind

23-Jun / Green Bay Packers Talk / sschind

22-Jun / Around The NFL / Smokey

Headlines