hotliquer Posted March 2, 2010 Share Posted March 2, 2010 I need to know something But I am quite unsure of its name otherwise I would be able to find it with search. I am trying to embed php code in a page or even using an iframe so when users click content inside of the include or iframe I want the clicked lick to reflect in the address bar. Then google links will actually link to my template page and not the script directory. I currently have an iframe set up on this page http://gtdb.org/?page_id=29 If you click the link under artist you can see it nearly works but does not pass the results to the search form. all other links are using standard links that work but dont reflect the address in the bar. I have the same script set up as an include on this page but as you can see it wants to break out of the page. I am using this include code <? $a = file_get_contents("http://www.gtdb.org/db/index.htm"); echo ($a); ?> I have tried many wyas yo include but I think its something to do with the actual script thats making it jump out. Is there anything I can do? Does this make sense? Thanks Ben Quote Link to comment Share on other sites More sharing options...
jl5501 Posted March 2, 2010 Share Posted March 2, 2010 I can think of all sorts of things that you may be doing wrong here, but can you post some of the code you are using so we can provide the correct answer Quote Link to comment Share on other sites More sharing options...
hotliquer Posted March 2, 2010 Author Share Posted March 2, 2010 This is the code that I am using in the artist link column <TD class=borderbody vAlign=middle align=middle {$artist_style}><a href="http://onecuts.com/music/tunings_public/guitar_tunings_list.php?a=search&value=1&SearchOption=Contains&SearchField=&SearchFor={$artist_value}">{$artist_value}</a></TD> I have also attached the main php file that is used. I forgot to post the second link on my earlier post. http://gtdb.org/?page_id=18 This is the page using php to try and include the file http://www.gtdb.org/db/index.htm index simply calls up guitar_tunings_list.php which is in the same directory. I have tried also including guitar_tunings_list.php but I cant seem to get it working. Thanks Ben [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
hotliquer Posted March 2, 2010 Author Share Posted March 2, 2010 Im sorry the code from my previous post was from the old site. I am working on both files and posted the wrong code here is the proper code <TD vAlign=middle align=left {$artist_style}><a href="http://www.gtdb.org/?page_id=29?guitar_tunings_list.php?a=search&value=1&SearchFor={$artist_value}&SearchOption=Contains&SearchField=" target="_top">{$artist_value}</a></TD> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.