;

PDA

Click to See Complete Forum and Search --> : loading info into multiple textboxes with php


lummyk
12-09-2001, 12:15 PM
dear all,

i need help with php/flash. i have a movie with 2 textboxes (dynamic) in them. using the loadvars action to load a php file, i'm only able to write data into one box. eg.
<?php
print("text=text");
print("text1=textabc");
?>

what appears in my movie textbox 'text' is 'texttext1=textabc'. is there a way i can output stuff to BOTH textboxes in a single script? thanx for your help.

LodeDesign
12-09-2001, 02:27 PM
Didn't look if this is an older post but there is an answer to you're question.

You must give the textboxes different names:
textbox1
textbox2

<?

echo "textbox1=" . urlencode("$text1")
"&=&textbox2=" . urlencode("$text2")
; //echo end
?>


after the first variable use && or &=&, I always test it with textfiles!

something like this I figure, hope it helps....