Jump to content

NorthGeorgiaWeather

New Members
  • Posts

    3
  • Joined

  • Last visited

NorthGeorgiaWeather's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Here's some code with and without the hyperlink. My confusion is where to use quotes and where to use ticks if(file_exists('\emwin\adm\cwfmob.txt')) { do_check('<a href="\emwin\adm\cwfmob.txt' title="Coastal Water Forecast" target="_self">CWFMOB</a>','\emwin\adm\cwfmob.txt',60*60*60,'\emwin\adm\cwfmob.txt'); This code works assuming I enter the correct file paths if(file_exists('TRACReport.txt')) { do_check("Nexstorm TRACreport",'TRACReport.txt',10*60+15,'file');
  2. Sorry, not much help. I know how to do hyperlinks, but in this case, not within this particular piece of PHP code. I'm looking for what quotes or other delimiters to stick the hyperlink "inside" of.
  3. I have this code that I want to add a hyperlink to. The code works as is (this is obviously only part of it). The code is looking at the time stamp of the file and doing some calculations. I want to add the hyperlink to the code in red so the user can click on the linmk and open the file. The link in green is the path and file that would be in the hyperlink. if(file_exists('\emwin\adm\cwfmob.txt')) { do_check("NWS Mobile - CWFMOB",'\emwin\adm\cwfmob.txt',60*60*60,'\emwin\adm\cwfmob.txt');
×
×
  • 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.