AR
Try to add capture() in option value tag?
Im by phone now and i can't write some chars.
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
AR
Yep, thanks. 🙂 But on second look it needs some loop also, depending what is getting with capture function, otherwise it ain't gonna work.
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
AR
crazybrumi wrote:
i have narrowed the problem down to this it wont work if i do it like this
$main.="<option value=\"$file_name[0]\">$file_name[0]</option>";
but will work if i have it like this ??
echo"<option value=\"$file_name[0]\">$file_name[0]</option>";
but as im using
$main.="sample";
it will appear at the top of the page
this is from the directory index code
From where are you getting $file_name?
This behavior usualy happens when some function is used in which the data is not executed, should be like this for example:
... $var ... code;
return $var;
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***