Jump to content

how we call a file in php


beven

Recommended Posts

hi

 

I have a problem with my code. Actually i want to make a dynamic page. for that i have a database from where i get data. I getting data dynamically at homepage & make a hyperlink there with html code. But in actual inner pages are not exists. I made a file there which is getting dynamic data also. All comparing data is put in redirect.html on server & also include that specific file as well................Main Problem is that i do not know from where to call redirect.php....because when a link is clicked server open that page & we redirect control to redirec.php....... Is there any possible solutions

Link to comment
https://forums.phpfreaks.com/topic/250223-how-we-call-a-file-in-php/
Share on other sites

<a href="yourdomain.com"><?php "script getting data from database"?></a>  when we click this links there is no page on the server to open.... suppose link becomes like Dewali  I have a dummy page from that page i get data related to Dewali in tables....................I did all comparison & save that file with redirect.php................but when we click the link....server have nt know about how get redirect file because i have not use it in index.php

 

 

This is i am asking from which place to call that redirect.php or there is any other method of calling it

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.