How to get <= $row ["id"]?> output a value

Source: Internet
Author: User
How to make Output a value.
I would like to convert the previously written ASP program into a PHP program, the results encountered a * annoying. It is:
in ASP

<% do and not rs.eof%>
">
) "> Edit

<% Rs.movenext
Loop%>

The value of the id attribute for each TR is FFF1,FFF2,FFF3, respectively.

But instead of a PHP program,

FETCH_ASSOC ()) {?>

">
) "> Edit


The id attribute value of each TR is FFF,FFF,FFF, etc.

I therefore suspect that the data type of $row["id" is not a numeric type, then use $id=intval ($row ["id"]) +0; go to cast it to a numeric type, but the result is 0.
The id attribute value for each TR is fff0,fff0,fff0, etc.

How to make PHP
The id attribute values for each tr are FFF1,FFF2,FFF3, respectively.



Share to:


------解决方案--------------------
那就是本身无值。。。
------解决方案--------------------
alert("fff"+ )
改成
alert("fff class="social-share-buttons" data-title=""></span class="social-share-buttons" data-title="【怎样让<?=$row["id"] ?>输出一个数值啊】我想把以前写的ASP程序转换成PHP程序,结果遇到一个*烦。就是:ASP中<%???do?while?not?rs.eof???%>??<tr?id="fff<%=rs("..." data-pics=""></span> ")
Try the
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.