Discussion Board
Welcome Guest! You can login or register. Registers on the forum 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 (4h) : Yes, Insurance Agents do well . You must feel so superior .
rabidgopher04 (4h) : Fenway is electric. Great place to watch baseball. I've been a couple times.
wpr (6h) : A few have it already. Most have to save it to do things.
wpr (6h) : Yes Smokey, life takes money to do anything.
Smokey (9h) : IF THEY HAVE THE MONEY !
wpr (11h) : It is a must for everyone.
Zero2Cool (20h) : I gotta hit that place sometime. Red Sox fan. Hell as a Baseball fan you gotta see Fenway.
wpr (16-Aug) : Flew into Boston today. Took in a game at Fenway with my son.
Smokey (15-Aug) : JOIN PACKERSHOME , A GREAT PLACE TO POST !
beast (12-Aug) : Fairly good news on all the injuries other than having the concussions, but glad it wasn't worse.
buckeyepackfan (11-Aug) : stupid Zeke!!!
Zero2Cool (11-Aug) : De'Angelo Yancey said when he saw Malachi Dupre this afternoon "it was like he never even got hit."
DarkaneRules (11-Aug) : Trubisky lit it up last night. he was throwing darts, especially on the run. impressive
DarkaneRules (11-Aug) : evans had a good game otherwise but refs were rusty
DarkaneRules (11-Aug) : wish there wasn't such an obvious block in the back on the punt td
Tezzy (10-Aug) : Go Pack Go!
buckeyepackfan (10-Aug) : Will The Rivers run deep tonight? Only time will tell!?
Smokey (9-Aug) : GB vs Philly , "Chat" will be "Open" .
Porforis (9-Aug) : Shh... Kids these days like cookies...
Smokey (9-Aug) : and Polls !
Porforis (8-Aug) : We have cookies.
Smokey (7-Aug) : COME JOIN OUR FORUM !
Smokey (7-Aug) : JOIN NOW , JOIN TODAY !
Zero2Cool (7-Aug) : Davon House sits out of the Packers’ Monday practice with a hamstring injury
DarkaneRules (7-Aug) : House not in pads today. Hope to hear "we're just being cautious with him" later
Cheesey (7-Aug) : Good time to get th FG misses in, when it doesn't count.
Smokey (6-Aug) : M. Crosby , will be ok
DarkaneRules (6-Aug) : 6 missed field goals. that will be your headline because media
Smokey (6-Aug) : now I have
Smokey (6-Aug) : Have not seen Jamal Williams (RB) .
DarkaneRules (6-Aug) : it's not a game but this punter looks legit
Smokey (6-Aug) : yes
DarkaneRules (6-Aug) : http://www.tmj4.com/sports/green-bay-packers/green-bay-packers-family-night-2017
Smokey (6-Aug) : yes it sucks
DarkaneRules (6-Aug) : still waiting for something to show up on the stream
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
4h / Green Bay Packers Talk / nerdmann

5h / Green Bay Packers Talk / nerdmann

7h / Green Bay Packers Talk / beast

8h / Green Bay Packers Talk / gbguy20

10h / Green Bay Packers Talk / uffda udfa

19h / Green Bay Packers Talk / DarkaneRules

20h / Green Bay Packers Talk / Zero2Cool

15-Aug / Green Bay Packers Talk / yooperfan

15-Aug / Green Bay Packers Talk / wpr

13-Aug / Green Bay Packers Talk / rabidgopher04

13-Aug / Green Bay Packers Talk / steveishere

11-Aug / Green Bay Packers Talk / wpr

10-Aug / Green Bay Packers Talk / DarkaneRules

10-Aug / Green Bay Packers Talk / Zero2Cool

10-Aug / Green Bay Packers Talk / DarkaneRules

Headlines