Jump to content

immortalfirefly

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

immortalfirefly's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. For those that are glued to their screens in anticipations of an answer (since so many people have this problem....) I changed the file from .html to .php and left it exactly the way it was. I include that file which works great, and it got rid of my errors in Eclipse.
  2. Well the main file is a PHP file and I've included this html file that loads when a condition is met and inserts it into the php file. So it is a html file all by itself, but it's being included into a php file. IFF
  3. That is good to know.....maybe it'd help if I supplied the error that Eclipse is giving me.... "Start tag (<input>) not closed." "Invalid character used in text string (<?php echo echo $main['id']; ?>" size="10" />)." As soon as I get rid of the inserted php code, both errors go away. ImmortalFirefly
  4. Hi Group, I looked through the internet and couldn't find an answer, but I was wondering on the appropriate syntax on inserting PHP code into an input element. See below. <input type="text" name="id" value="<?php echo $main['id']; ?>" size="10" /> Now this is purely an example (and I'm aware of php short tags, just don't want to use them). I only ask cause I've used CodeLobster and Eclipse and they don't really know what to do with the added php syntax. CodeLobster and Eclipse wouldn't finish marking up the rest of the line in the appropriate colors (all the text was black after the < in <?php like how I showed it above), however Eclipse's built in debug system thinks this is a syntax error. It runs just fine in the browser and does what I want it to, but I'd like the appropriate systax to get rid of this "error". Thanks in advance, ImmortalFirefly
×
×
  • 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.