慕粉4174691
2016-11-09 18:52:51
<?php
????$path="localhost";
????$name="root";
????$pword="";
????$db="ly";
????$lname=$_REQUEST["lname"];
????$lyx=$_REQUEST["lyx"];
????$lcontent=$_REQUEST["lcontent"];
????$conn=new?mysqli($path,$name,$pword,$db);
????$sql="insert?into?ll(lname,lyx,lcontent)values('".$lname."','".$lyx."','".$lcontent."')";
????if($conn->query($sql)===TRUE){
????????echo?1;
????}else{
????????echo?0;
????}
?>angular.module(,[]);
.((){
????.when(,{templateUrl})
????????.when(,{templateUrl})
????????.when(,{templateUrl})
????????.when(,{templateUrl})
????????.when(,{templateUrl})
????????.when(,{templateUrl,controller});
});
.controller(,(,){
????.lname;
????.lyx;
????.lcontent;
????.(){
????????.(,{lname.lname,?lyx.lyx,lcontent.lcontent})
????????????.success(()?{
????????????????(.success){
????????????????????();
????????????????}
????????????})
????}
});<>
<>
??<>
????<></>
??</>
??<>
????<><>
??????</>
????</></>
??</>
??<>
????<></>
??</>
??<>
????<><>
??????</>
????</></>
??</>
??<>
????<></>
??</>
??<>
????<><>
??????<></>
????</></>
??</>
??<>
????<>?<>?</></><></>
????</></>
????</></>
??</>
</>
添加回答
舉報(bào)
0/150
提交
取消