English 中文(简体)
页: 1 如果将ID列入链接
原标题:1 line. Where to place ID in the link

由于我认为孤立了没有传递的国际发展价值的原因,我与前一个大职位建立了单独的职位。

我有这种联系,但有些内容并不完全正确,没有价值。

$sOutput .=  "<a href="#  ."id=" .addslashes($aRow[ id_cruise ]) . " class="flip"> .addslashes($aRow[ from_country ]). </a>", ;

以上是切身利益。

而为了治疗,这是得到价值的小刀子。

<script type="text/javascript"> 
$(document).ready(function(){
$( a.flip ).live( click ,function(){
    $(".panel").slideToggle("slow");
    $( #reviews ).load( SendIdToDatabase.php , {idCruise: this.id});
     });
});

</script>

因此,总体情况是:

浏览量一栏的表格、行文和链接。

当你点击该连接点时,应当有两点。

a) 启用幻灯片小组

b) and the value is passed to a DIV inside that panel (div which loads the result of a php query which received that ID value)

但正如我说过的那样,预计只有链接需要打碎。

thanks a million

阿尔瓦罗

UPDATE

还建议建立2个联系。 他们都没有工作。

这一联系使幻灯片小组能够开张,但它没有把碎块埋在其中。

$sOutput .=  "<a href="#"  .  id="  .addslashes($aRow[ id_cruise ]) . " class="flip"> .addslashes($aRow[ from_country ]). </a>", ;

而这种联系似乎恰恰相反。 幻灯片开张,但灰尘似乎在装上,但我看不出,因为像我说过的那样,幻灯塔会露天。

$sOutput .=  "<a href="?id=  .addslashes($aRow[ id_cruise ]) . " id="  .addslashes($aRow[ id_cruise ]) . " class="flip"> .addslashes($aRow[ from_country ]). </a>", ; 

因此,目标是达到一条线,使两者都能发生。 打开滑坡,并填满四。 当然,利用所显示的J RequestRY snippet

问题回答

Alvaro, It seems to me your link building code is incorrect, ie

$sOutput .=  "<a href="#  ."id=" .addslashes($aRow[ id_cruise ]) . " class="flip"> .addslashes($aRow[ from_country ]). </a>", ;

与屏幕对应

<a href="#id=id_cruise" class="flip">from_country</a>

你的超文本是错误的,因为你没有把耳光关闭,而你们的浏览者认为,神父是神父。”

 $sOutput .=  "<a href="#"  .  id="  .addslashes($aRow[ id_cruise ]) . " class="flip"> .addslashes($aRow[ from_country ]). </a>", ;

这应当反映正确的超文本,如:

<a href="#" id="id_cruise" class="flip">from_country</a>

既然你们的hr子和amp子的特性是正确的,那么 j子应该能够发挥 n的作用。

Cheers, J.





相关问题
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 ...

热门标签