Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Calling php in html

    Having problems calling a php file into and html

    I have written the code into a file called date.php
    I can access date.php and it looks fine but how do i call it in an html file?
    SWEK Guest

  2. Similar Questions and Discussions

    1. Calling flash functions from loaded HTML
      Hello, I loaded an html file into a flash movie. Is it possibile to use standard href's to invoke flash functions from within the loaded html?...
    2. calling external php file before <html> tag
      hi all, just wondering if it is possible to call a function that resides on external php file before any <html> tag?? i have a code that sets a...
    3. How to use HTML::Parser to remove HTML tags and print result
      I am trying to use HTML::Parser to parse an HTML file, remove all HTML tags (including comments, etc.), replace all ENTITIES (e.g. &amp), and put...
    4. Calling a function in codebehind from the html side of the aspx?
      I read from some book that you can actually on any tag in the html page put a onClick or something and assign it with the sub/function name that is...
    5. Calling a html page from an asp page then returning to the next statement on the original asp page
      Hi! I have an ASP page that calls excel to create a report. This works fine. Now I need to call a html calendar page to filter what rows are...
  3. #2

    Default Re: Calling php in html

    You don't. You integrate the PHP into the HTML using <?php ... ?> tags.


    SWEK wrote:
    > Having problems calling a php file into and html
    >
    > I have written the code into a file called date.php
    > I can access date.php and it looks fine but how do i call it in an
    > html file?

    rob::db Guest

  4. #3

    Default Re: Calling php in html

    The web page you "include" the PHP code into must also have a file extension of .php. If you have not changed the name of the file then the web server will not parse the php code.
    delaneypub Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139