On a web page, how does one insert multiple PHP-queried database data records? Today, I tried to make jquery mobile PHP, and they felt they were doing a great job of CSS.
I want to write a separate PHP program and View program, but I am confused about the problem.
That is, if these countries are found out from the database, how can they create a row on their own?
If the program and the page are together, we can use a loop, but what should we do with separation? Help T
- Europe
- Germany
- UK 6
- Asia
- China 14
- India
- Africa
- Egypt
- South Africa
Reply to discussion (solution)
The answer has been found. use smarty
Isn't it a loop?
However, this seems to be very resource-consuming, and I don't know if there is a simple way to separate it...
Isn't it a loop?
But in this way, only the PHP language is available in the PHP code page, and there is no such thing as circulating HTML.
However, it seems that dynamic things consume resources with smarty.
Isn't it a loop?
Moderators ~ If you do not need to use smarty to separate php and html, do you have to loop:
$state";}?>
And this program must be in an html file and cannot be in another php file?
Smarty also uses loops.