Add php variable inside echo statement as href link address?

前端 未结 5 1713
盖世英雄少女心
盖世英雄少女心 2020-12-02 18:55

I\'m trying to use a php variable to add a href value for a link in an echo statement.

Here\'s a simplified version of the code I want to use. I know that I can\'t j

5条回答
  •  误落风尘
    2020-12-02 19:36

    If you want to print in the tabular form with, then you can use this:

    echo " 

    ".$cat['id']."

    ".$cat['title']."

    ".$cat['desc']."

    ".$cat['process']."%"."Update"."

    " ;

提交回复
热议问题