How to add a select statement to the for loop body?
奥立奥
奥立奥 2018-07-07 19:37:20
0
1
1149


Why can’t I type like this? Please give me some advice! !

$row5 is the result of the query above. array.



##for($j = 0 ; $j < count($row5) ; $j ){

$y = $dopage->GetPage("SELECT * FROM `#@__liuxiang` WHERE ypname="$row5['$j']['ypname']");

                                       

?>

##

奥立奥
奥立奥

reply all(1)
胡鹏宇

Although I don’t know what you want to get? But $y must be an array anyway. For example: $y[]

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template