php echo other php code

后端 未结 2 1661
刺人心
刺人心 2021-01-28 16:26

Im trying to have php code that contains an echo. within that echo however, I need it to echo php code within it. a short example is bellow.



        
2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-28 17:04

    Otherwise, try reversing it:

    while ($row = mysql_fetch_array($result)) 
    {
        ?>
        
    error


    And also switch to PDO objects.

提交回复
热议问题