<?php
include("connect.php") ;
$result = mysql_query("select * from member where user='$_SESSION[login_true]'") or die ("Err Can not to result");
$dbarr = mysql_fetch_array($result);
$show = test ;
echo "dataname=".$show;
?>
<?php
include("connect.php") ;
$result = mysql_query("select * from member where user='$_SESSION[login_true]'") or die ("Err Can not to result");
$dbarr = mysql_fetch_array($result);
$show = $dbarr['lastname'] ;
echo "dataname=".$show;
?>
รูปแสดงผลใน php
รูปแสดงผลผ่าน flash
อันนี้ code flash as 2.0
var myLoadVars:LoadVars = new LoadVars();
_root.createTextField("my_text",1,100,100,100,21);
my_text.border = false;
myLoadVars.onLoad = function(success:Boolean) {
if (success) {
_root.my_text.text = this.dataname.split(",");
//trace (this.dataname);
}
};
myLoadVars.load("http://localhost/babyspin/login/login-recive.php");