0
About hiding pages
hello every one ihave 4 pages .php iwant and i connect them whit include("filename .php") and ihave many pages in one page... iwant to hide 3 pages from it ...how i can do this😥
5 Respuestas
0
Monzer Single page applications are typically built with browser based JavaScript. To build a single page application you need good knowledge of DOM manipulation. It is not hard to learn.
Or you can use a library like Vue or jQuery for easier and cleaner DOM manipulation.
+ 1
include dumps the content of its argument file into the current file.
1. You can use a conditional statement to determine which file is included
2. or include all and hide them with JavaScript on the client side.
Why exactly do you want to do this though?
0
Ore iwant to do this becouse i have 4 pages.php and icant connect them by php condition loops
can you help me?
0
What do you mean by connect? Are you trying to build a single page application? You cannot use PHP for that. You need JavaScript or any other language or software that runs in a browser.
To learn about Single page applications. See this https://en.m.wikipedia.org/wiki/Single-page_application
Do you need a single page application?
https://docs.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/choose-between-traditional-web-and-single-page-apps
0
yes i mean build single page palication