Hi G3cko,
Sorry I cant help you.....I'm a noob, which was why I was browsing in the Code Snippets section.
To get an answer to you question you'd probably be better off posting in PHP-Code section.
Search found 10 matches
- Tue Aug 17, 2004 4:03 am
- Forum: Code Snippets
- Topic: checkbox forms[array]
- Replies: 7
- Views: 10943
- Thu Jul 29, 2004 10:46 am
- Forum: PHP - Code
- Topic: Where's my logic going wrong ?
- Replies: 10
- Views: 1616
Which confirms how little I know about coding, and my script is dissappearing up it's own backside :) This script is an include on another - In the first script I select a season from a list already in the db, then select a division. A record is put into a table to link these two together. Then the ...
- Wed Jul 28, 2004 8:59 am
- Forum: PHP - Code
- Topic: Where's my logic going wrong ?
- Replies: 10
- Views: 1616
I do get values displayed from $rounds if I print_r (or print_a) it withinpickle wrote:$rounds isn't defined anywhere
Code: Select all
case"Select Circuits":
{
..
..
}Code: Select all
case"Add Rounds":
{
..
..
}default
Select Circuits
Add Records
- Wed Jul 28, 2004 3:40 am
- Forum: PHP - Code
- Topic: Where's my logic going wrong ?
- Replies: 10
- Views: 1616
Haven't had a chance to retest yet, but I have another question regarding arrays - in this code snip I'm setting up checkboxes for the admin to choose a number of circuits from a list, currently only storing the record id of the selected circuit, while ($trackrecs = mysql_fetch_array($get_list2_res)...
- Tue Jul 27, 2004 11:27 am
- Forum: PHP - Code
- Topic: Where's my logic going wrong ?
- Replies: 10
- Views: 1616
Thanks for the replies guys.....I'll try them out and let you know how I get on, tho on the one or two other INSERTS I've done I haven't had to include the field names - or is that more for debugging purposes. the print_a function comes from the included dubuglib.php script which I got from http://w...
- Tue Jul 27, 2004 8:23 am
- Forum: PHP - Code
- Topic: Where's my logic going wrong ?
- Replies: 10
- Views: 1616
Where's my logic going wrong ?
OK, I've probably totally misunderstood how php works but the following script is supposed to - Get the no of tracks required for a season, Display a list of tracks from which the user selects the ones to include in the season, Then display only the tracks selected for the user to add a round number...
- Mon Jul 19, 2004 10:13 am
- Forum: PHP - Code
- Topic: [SOLVED] Problem with a variable
- Replies: 8
- Views: 1329
- Mon Jul 19, 2004 8:56 am
- Forum: PHP - Code
- Topic: [SOLVED] Problem with a variable
- Replies: 8
- Views: 1329
- Mon Jul 19, 2004 8:30 am
- Forum: PHP - Code
- Topic: [SOLVED] Problem with a variable
- Replies: 8
- Views: 1329
Thanks for the pointers, I'll give them a go and let you know. With ref to Waynes post - The script does show one selection box at a time.....no reason why it can't show both boxes together, just me learning as I go along....however I did put an echo of the sel_divid var inside the elsif clause to e...
- Mon Jul 19, 2004 6:13 am
- Forum: PHP - Code
- Topic: [SOLVED] Problem with a variable
- Replies: 8
- Views: 1329
[SOLVED] Problem with a variable
Hi, 1st, I am new to php (and coding in general) so forgive me if I dont explain correctly or my code looks naff :) One of my variables appears to be losing it's value....or my mysql INSERT isn't working correctly. The code has two selects 1st is to select a division, the division id is stored in $s...