state flags

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
ok not sure what you mean




You didnt import the first table correctly.





_________________
Back to top Reply with quote
#2   re: state flags
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
what he meant was, you did not import all the necessary tables needed which is why you are getting that error message



Back to top Reply with quote
#3   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
i copy all that was there and put it in my sql and run it.




_________________
Back to top Reply with quote
#4   re: state flags
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Then the table has the wrong name. You have to double check all the sql querys and make sure that the information was entered.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: state flags
reddog
CZ Super Newbie
 Codezwiz Site Donator
reddog has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 56
Gender: Male
Fav. Sports Team: Da Bears
Website:
Status: Offline
Joined: Dec 27, 2003
0.01 posts per day
Posts: 86
Points: 12,465
  MSN Messenger ICQ Number
im having the same prblems with country_flags, i did go in and look at the sql query, and it is missing, "Primary Key (flag_id)" , i guess my question is, how do i add this safely ? and how should the entry fields look when im done? i know thats kinda vauge, but im a noob, trying to learn.



Back to top Reply with quote
#6   re: state flags
reddog
CZ Super Newbie
 Codezwiz Site Donator
reddog has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 56
Gender: Male
Fav. Sports Team: Da Bears
Website:
Status: Offline
Joined: Dec 27, 2003
0.01 posts per day
Posts: 86
Points: 12,465
  MSN Messenger ICQ Number
ummm nevermind, maybe i should just look at the previous posts a bit closer, and think a bit more, i got it workin !!



Back to top Reply with quote
#7   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
That wont cause you to have sql errors. If your getting errors it is because of something else in the mod. Double check everything.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#8   re: state flags
reddog
CZ Super Newbie
 Codezwiz Site Donator
reddog has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 56
Gender: Male
Fav. Sports Team: Da Bears
Website:
Status: Offline
Joined: Dec 27, 2003
0.01 posts per day
Posts: 86
Points: 12,465
  MSN Messenger ICQ Number
wow, then im lost, cause what i did made it work, the only thing i had to do was enter the flags manually into the database, which was alot of work icon_sad.gif , this is what i did.

I changed the sql to read, as below, i didnt know what the bathtub i was doin, but it works now.
CREATE TABLE originally had "nuke_flags", also the primary key never showed up in the database, but from what i undertsand they are not always neccesary.



Table structure for table 'nuke_flags'
#


ALTER TABLE nuke_users ADD user_from_flag varchar(25) NULL AFTER user_from;

CREATE TABLE nuke_bbflags (
flag_id int(10) NOT NULL auto_increment,
flag_name varchar(25),
flag_image varchar(25),
PRIMARY KEY (flag_id)



Back to top Reply with quote
#9   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Ok then that is an error in the install file I will take a look. It should be nuke_bbflags.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#10   re: state flags
reddog
CZ Super Newbie
 Codezwiz Site Donator
reddog has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 56
Gender: Male
Fav. Sports Team: Da Bears
Website:
Status: Offline
Joined: Dec 27, 2003
0.01 posts per day
Posts: 86
Points: 12,465
  MSN Messenger ICQ Number
cool, glad i could help icon_biggrin.gif , now if i could get a rockin avatar and sig to match, like you guys got that would be the cats derrière........maybe i need to learn photoshop too!!........dont pay any attention to me, im just ramblin icon_redface.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum