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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.