How to add a comment in a php file which has html code

Hi
I have a html file which I renamed .php after adding a form. I discovered that the html comment text I was using - <!--this is a comment --> - was affecting how the page rendered, particularly in IE9.
My question is, now that it is a php file do I need to change all the comments syntax? I started to do it using the "apply comment" button in CS5 i.e. syntax: <?php /*?>form<?php */?>.
Is this the right way to do it? It gives "php" icons in design view but appears to render ok.
Thanks

PHP comments:
<?php
//This is a comment
This is
a php comment
block
?>
Use PHP comments inside PHP scripts/code.
HTML comments:
<!--comment-->
<!--this is
an html comment
block-->
Use HTML comments inside HTML code.
CSS Comments:
     /*comment*/
     /*this is
     a css comment
     block*/
Use CSS comments inside CSS code (either embedded or external).
JavaScript comments:
//this is a single line comment
//this is another single line comment
/*this is a multi-line
javascript
comment
Use JavaScript comments inside JavaScript code (either embedded or external).
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • How to place a link to a .crt file in the HTML code?

    Hello,
    I followed the 10 famous steps for the creation of a self-signed applet. My problem is at step 10:
    "Place a link to the .crt file (created in step 4) in the HTML-File.
    This .crt file has to be opened by the browser and has to be set to
    trusted,
    as the root CA for testing is not known to the browser."
    I do not know how to modify the HTML code.
    Here is a simplified version of my file without the HTML converter facility
    <APPLET CODE = "mydirectory.MyApplet" ARCHIVE="tst.jar" width=960 height=580>
    </APPLET>
    The archive tst.jar was signed following the procedure of the 10 steps without problems. My trouble is that I cannot write a file in my hard disk.
    Thanks in advance
    Christos

    Hi,
    Just add a <a href = "blah blah/name.cer" > blah </a>
    Then in some cases u may have to add mimetype mapping data to the Appserver's xml file (web.xml or something). the mime types for .cer and make the content typs as application/octet-stream
    Cheers

  • How to register a schema use a .xsd file which has lots of includes schema

    Hello, All,
    Does someone have the experience to register a schema use a .xsd file which contains several tags like <xs:include schemaLocation="../dt/somedatatypes.xsd"/>?
    I tried both the OEM and command line dbms_xmlschema.registerSchema(), although the whole file structure already in the repository, seems like Oracle can't automatically search and find the includes and register it. should I register those includes first? the actual error I got is "ORA-31000: Resource '../dt/somedatatypes.xsd' is not an XDB schema document.ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0 ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26 ORA-06512: at line 2" .
    Any suggestion? thanks in advance...

    We do not (currently) support relative references in included XML Schemas.
    In order to use an include or import the target Schema must first be registered with XML DB under some known location. The schemaLocation argument needs to the 'Docuemnt Location Hint', or URL, that was passed to registerSchema when the included schema was registered.
    If you have cyclic dependancies between schemas you can use the force option of registerSchema to register the first Schema. This will then allow registration of the second schema to succeed. Once the second schema has been successfully registed the first schema must be explicitiy recompiled using dbms_xmlschema.compileSchema().

  • How to add column comments to table

    at the time of creating the table, how to add the comments t columns.

    Hi,
    I do not see any way in which you can add comment on column while issuing create table command. You can add comment on the column only after the table is created.
    Regards
    Anurag Tibrewal.

  • How to add more comments in the Nomination Header notes tab

    Short Text 
    How to add more comments in the Nomination Header notes tab 
    In the nomination screen, there are the tabs for header and item notes.
    Within each of those tabs, there are categories for the type ofcomments. Currently in the nomination maintenance screen header notes
    there are onlythree comment categories are available 1) General comments 2) Carriercoment 3) Shipper Comment and We would like add more comments in this
    section. In the configuration we couldn't find a place where we can add
    more customer specific comments. Can we add comments in the header
    notes tab and if so where can we add the additional comments ?

    Hello Giri,
    You could try the following to create new text types for nomination header.
    1) Execute transaction SM31
    2) The view here is V_TTXIDI
    3) Click on maintain .
    4) Create new entries .
    5) Since you want to add new more comments in the nomination header enter the text object as OIJRCODE_H
    6) Enter a text ID starting with Z
    7) Enter a description and save the new entry.
    In case you want to add new comments at the item level use the text object as OIJRCODE_I.
    When you restart the transaction O4NM again you will see the new entry added.
    This will solve the issue.
    Regards,
    Sandil

  • How to add an infoobject in a DSO ,on which Infoset is built

    Hi,
    How to add an infoobject to a DSO,on which an infoset is build.
    In general common infoobjects can be for reporting purpose right?
    Do I need to add the new infoobject in all the DSOs.My infoset consists of 6 DSOs.
    If my concept is wrong.what is the correct method of extracting infoobjects from DSOs to Infoset.
    Regards
    Lucky

    Hi,
    You need to add these two fields in the DSO only. Make sure that you are mapping these two fields in the transformation. After that, drop the data and reload the DSO. Then make changes to the infoset.
    By Component, what I mean:
    I'll take your example only...
    Say, for Material_Group, this data is not coming to DSo data Source. In this case, even if you will add this object to your DSO, you wont be able to map this in the transformation as R3 filed is not available. Ultimately, you wont be able to load data for this. So, its worthless.
    But, you have a master data called 0Material. and Material_Group is an attribute of this 0Material.In this case, you will add 0Material to the infoset directly, as a component of infoset(from the tab infoobject), and you will select Material group. In this way, we generally aceess the master data attributes.
    Revert for more clarification.
    Thanks...
    Shambhu

  • How to add new fields to the DME file in F110

    Hi,
    We have a requirement add new fields to the file that is used in  F110.
    .I did go in to DMEE transaction but I hae no idea how to add new fileds to the existing file.
    Can anybody please help me in resolving the issue.
    Thanks
    Venkat
    Edited by: Venkat R on Jun 8, 2009 8:45 AM

    Hi,
    There is no function module for that, We have created our own function module and attached to that field.
    Refer the below code. This will fetch the document number.
    DATA: lwa_item   TYPE dmee_paym_if_type,
            l_fpayp   TYPE fpayp,
            l_fpayhx TYPE fpayhx,
            first_flag TYPE c,
            lv_lifnr   TYPE lifnr,
            voucher_id TYPE string,
            voucher TYPE string,
            invoice_id TYPE belnr_d,
            voucher_len1 TYPE i,
            voucher_len TYPE i.
      TYPES:
      BEGIN OF lt_regup,
            xblnr TYPE xblnr1,
            belnr TYPE belnr_d,
      END OF lt_regup.
      DATA: lt_regup TYPE STANDARD TABLE OF regup,
            lv_regup TYPE regup.
    Hope this helps.
    Raja.A
    Edited by: Raja.A on Feb 16, 2011 7:17 PM

  • How to add norwegian language to my ipa-file in Adobe Flash Professional and Settings for AIR

    Hi,
    How to add Norwegian languages to my ipa-file in Adobe Flash Professional and Settings for AIR?
    The Norwegian users get my apps in english instead of Norweigan. Desperate for help!
    Regards Ylva

    Sorry but you will not get help here for that problem. This forum is about AIR Help, an online help format produced using AIR, it is not about AIR itself.
    I'll see if I can move it.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to add user defined tab in the Header level of T-Code O4NM?

    How to add user defined tab in the Header level of  T-Code O4NM?
    I tried with BADI but I cant able to find any BADI for it and also searched for screen exit too..

    Can you check the user exits,
    OIJNOM_N and OIJTKT_N
    Cheers,
    Balaji

  • How to add more disk space into /   root file system

    Hi All,
    Linux  2.6.18-128
    can anyone please let us know how to add more disk space into "/" root file system.
    i have added new hard disk with space of 20GB, 
    [root@rac2 shm]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda1             965M  767M  149M  84% /
    /dev/hda7             1.9G  234M  1.6G  13% /var
    /dev/hda6             2.9G   69M  2.7G   3% /tmp
    /dev/hda3             7.6G  4.2G  3.0G  59% /usr
    /dev/hda2              18G   12G  4.8G  71% /u01
    LABLE=/               2.0G     0  2.0G   0% /dev/shm
    /dev/hdb2             8.9G  149M  8.3G   2% /vm
    [root@rac2 shm]#

    Dude! wrote:
    I would actually question whether or not more disks increase the risk of a disk failure. One disk can break as likely as one of two of more disks.
    Simple stats.  Buying 2 lottery tickets instead of one, gives you 2 chances to win the lottery prize. Not 1. Even though the odds of winning per ticket remains unchanged.
    2 disks buy you 2 tickets in The-Drive-Failure lottery.
    Back in the 90's, BT (British Telecom) had a 80+ node OPS cluster build with Pyramid MPP hardware. They had a dedicated store of scsi disks for replacing failed disks - as there were disk failure fairly often due to the number of disks. (a Pryamid MPP chassis looked like a Xmas tree with all the scsi drive LEDs, and BT had several)
    In my experience - one should rather expect a drive failure sooner, than later. And have some kind of contingency plan in place to recover from the failure.
    The use of symbolic links instead of striping the filesystem protects from the complete loss of the enchilada if a volume member fails, but it does not reduce the risk of loosing data.
    I would rather buy a single ticket for the drive failure lottery for a root drive, than 2 tickets in this case. And using symbolic links to "offload" non-critical files to the 2nd drive means that its lottery ticket prize is not a non-bootable server due to a toasted root drive.

  • HOW CAN U CORRECT THE DATA IN UR FILE WHICH CONTAINS 1 LAKSH RECS

    Hai Frnds,
    i Attend an interview they asked this questions can u know the answeres . tell me .
    In File to file scenario how can we reprocess records which failed records.
    HOW CAN U CORRECT THE DATA IN UR FILE WHICH CONTAINS 1 LAKSH RECS
    Thanks in advance
    thahir

    Hi,
    Refer these links:
    this might help you
    Generic Approach for Validating Incoming Flat File in SAP XI - Part 1
    Generic Approach for Validating Incoming Flat File in SAP XI - Part 1
    validating against schema file for the output XML file
    Informing the sender about bad records
    Regards,
    Nithiyanandam

  • How do I unlink Ipod from my old PC (which has crashed HDD) and link to new PC without erasing contents of my Ipod?

    How do I unlink Ipod from my old PC (which has crashed HDD) and link to new PC without erasing contents of my Ipod?.  Unfortunately I lost all my content (photos, music) etc from my old PC when it crashed .... but when I try and link my iPod to my new PC it wants to erase the iPod first, which obviously i don't want to do, else I lose all my content ... can anyone help?

    See:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • How to read a file which has header and without header

    Hi,
    I have a file to file scenario wherein there are txt files in the source system, some of which has header and some without header.
    How does the sender adapter dynamically identify a file with header and without header.
    I knew that File content Conversion in the sender adapter with "Recordsets per message = 1" can read the header.  But how to handle dynamically.
    Thanks in advance for suggestions and advice.
    Regards.
    Praveen

    Hi,
    Let me give a more clear picture:-
    One of my file which has header and the corresponding values is listed hereunder:
    PERNR;KID;PNALT;NACHN;NAME2;VORNA;TITEL;TITL2 and so on.....
    ;1200;1200;Angus;; and so on.........
    Other file which has no header but only values in it:-
    1200;1200;;Werner;Angus and so on.......
    The structure remains same for all the files.  The only difference is that some of the file has header in it and some without header.  The Message Type is mentioned hereunder:-
    DT_LegacyEmployee (Category - Complex Type)
         Employees (Category - Element, Occurence - 1)
              Employee (Categroy - Element, Type - DT_LegacyEmployee_Row, Occurence - 0...unbounded)
                   PERNR
                   KID
                   PNALT
                   NACHN
                   NAME2 and so on......     
    I read the file in record row.  The file conversion parameters in the file sender adapter are mentioned hereunder:-
    Document Name - MT_LegacyEmployee
    Document Namespace - http://abc.com/xi
    Recordset Name - Employees
    Rescordset Structure - Employee,*
    Recordsets per Message - 1
    Key Field Type - String (Case Sensitive)
    Employee.fieldSeparator - ;
    Employee.endSeparator - 'nl'
    Employee.fieldNames - PERNR,KID,PNALT,NACHN,NAME2,VORNA,TITEL,TITL2 and so on........
    How do we dynamically identify whether the file has header or not.  Even if the file has header or without header, the file needs to be picked and transferred to the target system.  Kindly clarify.
    Regards.
    Praveen

  • How can I link .svg files in the .html code?

    How can I link .svg files in the .html code?

    I use the FileBrowser app by Stratospherix to do this.  I can watch / stream my movies on my iPhone / iPad from my hard drive connected to my Airport Extreme.  I can access all the files on that hard drive as well. 

  • I have was moving music from iTunes to a CD, however, when attempting to move a second set of music a error message stating "this is not a blank CD". How can more music be copied to this CD, which has more than sufficient space to be copied to?

    I have was moving music from iTunes to a CD, however, when attempting to move a second set of music a error message stating "this is not a blank CD". How can more music be copied to this CD, which has more than sufficient space to be copied to?

    I have was moving music from iTunes to a CD, however, when attempting to move a second set of music a error message stating "this is not a blank CD". How can more music be copied to this CD, which has more than sufficient space to be copied to?

Maybe you are looking for

  • Epress website not working correctly in Internet E...

    I have been reading newspapers at www.epress.fi for some time without a problem on my lumia 1020. After I installed the Lumia Cyan update reading is not possible anymore. I usually read: Vasabladet and Hufvudstadsbladet. After the update it does open

  • FTP program executed on application server

    Hi all,         my goal is to send a file from HOST (AS400) to a SAP using a batch program in order to see it from AL11 transaction. I found the standard program RSFTP* that use Function Module FTP*. In particular  If I execute the standard program R

  • About Apple USB Power Adapter !

    I've just bought IP4S 3 weeks ago and the Usb power adapter isn't working now. My friends said Apple wasn't warranty this! Is that true? If yes, I'm so disappointed!

  • Ipod nano 7th Generation not connecting to itunes

    I bought my Ipod nano in January of this year, and have been using the same computer and operating system to access Itunes since I brought it home. As of this month, whenever I try to connect my Ipod to Itunes to sync my music, it states a message co

  • Eclipse plugin recomendation for tomcat

    can anyone recomend any plug in for eclipse (working with tomcat). I'm using ver 3.1 thanks peter