English 中文(简体)
采用zen->url在zen?
原标题:Passing date using $this->url in zend?

我采用了我的模板档案中的代码。

<a onclick="previewPop( <?= $this->url(array( controller => report ,  action => generatepreview , report_date =>str_replace("%2F", "/", urlencode($this->report_dt))),  default , true)?> )" href="javascript:void(0);" title="Preview">Preview</a>


<script type="text/javascript">
function previewPop(url){
    window.open (url,"Invoice","menubar=1,resizable=1,width=850,height=550");
}
</script>

这是我的ur。

http://test.study.com/shop1/public/report/generatepreview/report_date/2011%2F10%2F20

因此,“Object not found!。 因此,我想把数据放在后面,而不是用斜体表示。 怎么能够做。

最佳回答
http://test.study.com/shop1/public/report/generatepreview/report_date/2011%2F10%2F20

不是单冰冰,而是审判“独一无二”的时间或目前的磨粉或另一种形式。

如:

  • 20111020 - YYYYMMDD
  • MjAxMSAxMCAyMA== base64 encoded version of 2011 10 20 (you can dismiss equations)
  • 1319379406 - unix timestamp (curently UTC)

并在主计长使用数据时将其编码

问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签