Question - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: Question (/showthread.php?tid=310) |
Question - macdonjo - 10-05-2009 Ok, when i put this: Code: //<p class="newsbar">Ignore This Bar For Now.</p> the code still works, how can I put the code in my script, yet the system will ignore it? I tried // but that doesn't work, anything else? RE: Question - Gaijin - 10-05-2009 // is used to comment lines if you use that in a html file it will be shown in the source if it is in a php file it will be ignored and I don't really understand what you need RE: Question - macdonjo - 10-05-2009 (10-05-2009, 07:49 PM)NinjaGeek Wrote: // is used to comment lines well, I am so noob, I will need to add this command maybe later, but I will prob end up 4getting it cuz I am noob. So is there a way to keep it in the script? But I don't want the script to accually read it. RE: Question - Gaijin - 10-05-2009 Then you are doing it right with // or you can use mulitline comment also Code: /* test here */ Code: <?php the first print will be shown and the second not in html file (files that end with .html .htm) you need to use <!-- text here --> Code: <div>show</div> RE: Question - HuNt3R - 10-11-2009 take // out then try RE: Question - macdonjo - 10-11-2009 That still makes the code works man! I think // is for php, but I need it for CSS and ' is for visual basic. Is anyone catching on? And Hunt3r: RE: Question - Gaijin - 10-11-2009 (10-11-2009, 09:39 AM)macdonjo Wrote: That still makes the code works man! Comments in css are done via /* COMMENT */ RE: Question - macdonjo - 10-11-2009 Thank YOU! Finally, someone who knows what there talking about! RE: Question - Akshay* - 10-12-2009 first u have to make the css for this |