Home > php教程 > php手册 > body text

让下拉列表又能选择又能输入

WBOY
Release: 2016-06-21 09:06:05
Original
1380 people have browsed it

下拉|下拉列表

将下列代码复制到你的代码中,再修改成自己需要的


""){
$seek_cp="select gg,cp from bom where lh='$FH_CP' ";
$result_cp=@pg_exec($link,$seek_cp);
$GG=trim(pg_result($result_cp,0,"gg"));
$CP=trim(pg_result($result_cp,0,"cp"));
$C_G=$CP.' '.$GG;

echo ""; }?>
$gg_fh=trim(pg_result($result_fh,$j,"gg"));
$cp_fh=trim(pg_result($result_fh,$j,"cp"));
$seek_lh="select * from bom where cp='$cp_fh' and gg='$gg_fh' ";
$result_lh=pg_exec($link,$seek_lh);
$lh_fh=trim(pg_result($result_lh,0,"lh"));
$cp_gg=$cp_fh.' '.$gg_fh;

if($lh_fh==$FH_CP){
echo "";
}
else{
echo "";
}
}
?>




Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template