Search found 4 matches
- Mon Feb 09, 2004 9:36 am
- Forum: PHP - Code
- Topic: Inserting arrays, received from Flash Mx, to mysql using php
- Replies: 2
- Views: 318
hello and thanks Weirdan, I mistakenly assumed that everyone knows how Flash passes arrays. Jumping from flash forum to php to mysql confuses me :? but anyvay, as far as I know flash sends an array like so, or so I've learned over at http://www.sephiroth.it: myarray = (1,2,3,4,5,8); which would mean...
- Sat Feb 07, 2004 1:04 pm
- Forum: PHP - Code
- Topic: Inserting arrays, received from Flash Mx, to mysql using php
- Replies: 2
- Views: 318
Inserting arrays, received from Flash Mx, to mysql using php
Hello, I am currently trying to send arrays from flash to php. Sending is no problem. However I'm having problems linking the flash array to php variables. I am trying to receive the flash array like this: <?php for ($n = 0; $n < 29; $n++){ $header[$n] = $_POST['header' . $n]; } ?> or like this <?ph...
- Wed Feb 04, 2004 3:58 am
- Forum: PHP - Code
- Topic: Automating creating tables in php for mysql
- Replies: 3
- Views: 474
Thanks Infolock and Markl999
Thanks for the help :P , I tried both sets of code. The first bit gave me a parse error, I then tried Mark1999 code and it worked a treat, thanks a lot I'm over the moon Mark M Here's the code again: <?php for ($n = 0; $n < 29; $n++){ $my_array[$n] = 'MyText' . $n . ' tinytext'; } $create_tab = 'cre...
- Tue Feb 03, 2004 6:26 am
- Forum: PHP - Code
- Topic: Automating creating tables in php for mysql
- Replies: 3
- Views: 474
Automating creating tables in php for mysql
Hello, I've been trying to get code to work which will have php create a mysql table by looping through an array, does anyone have any ideas as to where I'm going wrong. Here's my code: for ($n = 0; $n < 29; $n++){ $my_array[$n] = "MyText" . $n . " tinytext,"; } $create_tab = &qu...