Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Some Help for SQL Needed 
 
Hi everybody,

I try to port a script into my Icy Phoenix and now i need your help.

The script uses other sql statements, and this is my problem. this is the original sql statement:
Spoiler: [ Show ]


and this is what i have done yet
Spoiler: [ Show ]


the problem is, that my code, select all seasons, correct, but the section name is not shown by all created options.

can somebody help me with that?
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Some Help For SQL Needed 
 
Hi, first of all, this lines are not doing anything:
Code: [Download] [Hide] [Select]
    for ($x = 0; $x < count($section_info); $x++)
    {
        $section_id = $section_info[$x]['name'];
    }


I don't understand exactly what's the error. Can you take a screenshot of the select box result?

Greets!
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Some Help for SQL Needed 
 
Hi KasLimon,

thx for your help

here is a screenshot:
 season1

der red underlined word is the "section_info name" and the blue underlined is the "season_info name"

the dropdown is sorted by "season_info id"  the "carom abcdef" has id "3" and the last "Test season" has id "1"
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Some Help For SQL Needed 
 
OK I see.
One more question.
Then season_info ID and section_info ID have to be the same to make it work?
I mean:
carom id 3
abcdef id 3
carom3d id 2
neuer test id 2
test season id 1


Is this correct?

Greets?
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Some Help for SQL Needed 
 
exactly  

greetings
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Some Help For SQL Needed 
 
I've been testing and I got this:
Spoiler: [ Show ]

Try it. Greets!
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Some Help for SQL Needed 
 
many thanks KasLimon,

now i got it working with your help... with your code there was only showing 2 options, but it was my fault, because we checked the season table "id" but it must be the season table "id_section" (line 3)

i have it working with this code:
Spoiler: [ Show ]


again thank you very much =)
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Some Help For SQL Needed 
 
Nice to know it works

Greets!
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Some Help for SQL Needed 
 
yes and i´m happy that you helped me with that... now i can change the other sql queries, and the whole script

if i finished it, i put it here online, maybe someone needs it... but later more infos...


anyway thanks KasLimon
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events