English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Can we add HTML tag in PHP websites?

2007-03-03 22:47:37 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

The website is basically in html. You make it dynamic using PHP. You make decisions that what to display and what not to display on the page using PHP. So basically, PHP is embedded in HTML. If you want to show something based on some conditions performed in PHP, you can use something similar like this.

//Your decision making lets say if condition
if($bFlag)
{
?>
True
}
?>

2007-03-05 17:43:00 · answer #1 · answered by Atif Majid 3 · 0 0

Yes you can. Your php code goes inside these tags:

\\ code goes here
?>

Anything outside the tage will be placed verbatim in the code for the resulting page.

2007-03-03 23:09:59 · answer #2 · answered by poorcocoboiboi 6 · 0 0

you would be unable to upload code to the area, you may desire to upload it to a fie on the area - which skill you may desire to get carry of that document, upload the code, then upload the document. in case you don;t have get entry to to get carry of and upload the documents on the area, you would be unable to alter the area. era. there is not any way around this.

2016-09-30 04:35:06 · answer #3 · answered by philibert 4 · 0 0

yes you can.

2007-03-03 22:50:40 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers