+ -
当前位置:首页 → 问答吧 → PHP进阶
  • 帮小弟我看一下这句代码。。
    原始代码:<?php if(zen_not_null($products_image)){ ?>如果$products_image=1.jpg我现在想让它表现出,如果1.jpg没有,则显示为1-1.jpg应该怎么写。。。。。在线等。。。
    gaihaihao  时间:09-28 + 阅读全文
  • 很好购物车类(代码详细注解)
    shopping_cart.zip(3K)下载次数:14售价:5金钱一个很好用的购物车类,代码里每一条都加了详细注解,保证新手能看懂!!
    lanyefeng  时间:09-28 + 阅读全文
  • jq 改变input 的值后如何恢复原来的值
    <inputname="mobile"id="mobile"type="text"style="width:200px;"value="<!--{$formdata.mobile.value}-->"><inputname="getMobile"id="getMobile"type="button"value="同步信息">js中点
    jerrymsj  时间:09-28 + 阅读全文
  • 各位仁兄帮我看下啊,不知道是什么问题
    [upload=1]Warning:include_once(lib/administrator.services.class.php)[function.include-once]:failedtoopenstream:NosuchfileordirectoryinE:\PHPWorkspace\i8jz.com\administrators\administrato
    cuner  时间:09-28 + 阅读全文
  • 各位大侠帮忙看看吧
    smarty配置$smarty_template_dir='./templates/';templates文件夹下的index.html,用$smarty->display('index.html')可以用但templates文件夹下得show文件夹下的t.html.用$smarty->display('/show/t.html'就会出错Warning:Smartyerro
    kuaiman1  时间:09-28 + 阅读全文
  • 如何设置COOKIES 时间的问题
    我知道设置COOKIES保存时间2小时  setcookie('post',$_POST['content'],time()+3600);可是COOKIE如果要保存20天该如何设置呢?
    php17173  时间:09-27 + 阅读全文
  • 实现N个免费二级域名
    如题   放TMD屁~! 害得老子瞎折腾了1个星期  免费???  还不是要给费的呀~!    泛解析  绑定域名.....  绑定IP   我插~!说白了  要实现N个
    zhouaini528  时间:09-27 + 阅读全文
  • 26讲 自定义mysql_class 类
    <?php/*mysql_class**/classmysql_class{    private$hoat;    private$name;    private$pass;    private
    pgy251  时间:04-24 + 阅读全文
  • 函数的定义
    <?phpa();b();functiona(){ echo"thisisfunctiona.<br/>";   functionb(){    echo"thisisfunctionb.<br/>";    
    fubo775677191  时间:09-27 + 阅读全文
  • 贡献一个自己写的PHP函数库,小项目用得着
    <?php/*作者:遥远的期待QQ:15624575主页:www.phptogether.com*//*如果查询到数据,该函数返回一个二维数组;否则,返回false*/functionQuery($sql){    $res=mysql_query($sql);    if(mysq
    遥远的期待  时间:09-27 + 阅读全文