Show all posts by user
Internet Programming
Page 1 of 1 Pages: 1
Results 1 — 10 of 10
Owk... it's now starting to make sense. so by saying the player_id is not that important for selections table you mean the selections table needs e.g.
selection_id
fixture_id
wing
right_back
central_mid
and no fields for the opponents, date, venue I'm asking this cause my idea was to capture the selected "Fixture: Opponent, Date, Venue" and "Player: Name, Surname,
by
42893275-P
-
ICT2613 Sem 1
From the selection page fixture_id and player_id is what i used to retrieve data from the two tables and display to manager... I can select and preview the selections "Show Selected Fixture and Players"... so i figured i should use the id's to populate the selections table. Where am i losing direction...?
by
42893275-P
-
ICT2613 Sem 1
Hi. I forgot to mention, the reason why i couldn't format my test code as instructed is I posted the question using my phone "mobile browser" the options to format code aren't available on mobile, sorry but that was the only way i could post "had no access to a PC with Internet connection". Please help.
Language: PHP$fixture_id = $_POST[';fixture';];
if
by
42893275-P
-
ICT2613 Sem 1
Hi guys. I also used radio buttons and checkboxes to make selections... I am able to retrieve selected fixtures and players but unable to post the selection to the third table... saw some people talking about join the two tables. I used two queries one for the fixture and the other for players to display the fixtures with radio buttons and players with checkboxes "I can select both the fixtu
by
42893275-P
-
ICT2613 Sem 1
Hi. Please help! I'm stuck... My selection is not working as expected "both the radio button and checkbox selections" are posting empty values into the selections table... "PLEASE HELP" what am i doing wrong?
"TEST CODE"
$fixture_id $_POST['fixture'];
if ($_POST['submit']){
$query = "INSERT INTO selections (opponents, date, v
by
42893275-P
-
ICT2613 Sem 1
I managed to get the radio buttons and checkboxes to retrieve data from both tables "fixtures and players" and preview/check if that's want the team manger wants. now I need clarity on...
• The third table is for team selections. Give a name of your choice. It must have the following fields:
• selection_id (primary key, auto increment)
• fixture_id
• fields as required by the
by
42893275-P
-
ICT2613 Sem 1
Also need clarity on that... Sir please clarify.
by
42893275-P
-
ICT2613 Sem 1
Just read both posts "interesting" . I was using Language: PHPname=';Selected[]'; i think my problem was, not using the IN clause and a bit of validation.
phpfreaks explains the subject very-well!!!
now just have to transform from to THANKS!!!
by
42893275-P
-
ICT2613 Sem 1
@42609852 last night i managed to get the radio buttons working... selects one "Fixture" from the available, also the checkboxes "BUT" there's a problem, the checkbox selections will only return the "last player" say i select 5... only the 5th player gets pulled and displayed. now i used foreach just to check if the right ids are assigned to the player's c
by
42893275-P
-
ICT2613 Sem 1
Everything working well... but selection page.
Retrived everything to show on the selections page...
Tryna use radio buttons to select fixtures and checkboxes to select players... anyone has an idea on how to go about doing that?
Sir please help. I can create, view, edit & delete records... login page works well to. Its just the selection page
by
42893275-P
-
ICT2613 Sem 1