PHP Include Syntax Issue

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default PHP Include Syntax Issue

    What is wrong with this syntax?

    <?php @include($navLH . '.php'); ?>

    I am getting a parse error.
    jip Guest

  2. Similar Questions and Discussions

    1. Query of Queries syntax issue
      I have query 1 which has a list of names and query 2 which has ratings for the names. Every rating from query 2 has a name in query 1, but not...
    2. SQL syntax issue
      Hi all, I'm using CFMX (v6), by the way. I'm try to cobble together a search page that will take the information input on a form and search...
    3. simple syntax issue?
      Hi, I just want a function to return true, but after a LoadVars.onLoad event. Am I right in assuuming that the return in the onLoad = function...
    4. Hopefully simple syntax issue with forms
      First let me say that I am relatively new to ColdFusion. Hopefully you gurus out there will be able to steer me int he right direction. I have a...
    5. Syntax error -- data type issue?
      Hi, I keep getting the following error when testing a page with form to insert record. System.Data.OleDb.OleDbException: Syntax error in...
  3. #2

    Default Re: PHP Include Syntax Issue

    jip wrote:
    > What is wrong with this syntax?
    >
    > <?php @include($navLH . '.php'); ?>
    >
    > I am getting a parse error.
    Where is the parse error reported? Have you tried using the actual name
    of the file you want to include - and do you get the same error? If so,
    it may be in the include file. Also, try it without the @.

    --
    David Powers
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    Co-author "PHP Web Development with DW MX 2004" (Apress)
    [url]http://computerbookshelf.com[/url]
    David Powers 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