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😥

6th Sep 2020, 3:03 PM
Monzer
5 Respostas
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.
6th Sep 2020, 8:21 PM
Ore
Ore - avatar
+ 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?
6th Sep 2020, 4:11 PM
Ore
Ore - avatar
0
Ore iwant to do this becouse i have 4 pages.php and icant connect them by php condition loops can you help me?
6th Sep 2020, 4:49 PM
Monzer
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
6th Sep 2020, 6:19 PM
Ore
Ore - avatar
0
yes i mean build single page palication
6th Sep 2020, 6:51 PM
Monzer