Click here to Skip to main content
15,929,653 members
Home / Discussions / Web Development
   

Web Development

 
GeneralTIP: Norton AV and FileSystemObject Pin
Chris Maunder7-Jan-02 13:42
cofounderChris Maunder7-Jan-02 13:42 
GeneralJavascript menu Pin
Cyrad25-Jan-02 18:23
Cyrad25-Jan-02 18:23 
GeneralRe: Javascript menu Pin
Cyrad27-Jan-02 9:19
Cyrad27-Jan-02 9:19 
GeneralCalling js functions across frame boundaries Pin
Wolfram Steinke5-Jan-02 18:19
Wolfram Steinke5-Jan-02 18:19 
GeneralSocket programming in ASP Pin
Lali3-Jan-02 18:54
Lali3-Jan-02 18:54 
GeneralASP.NET Pin
Matt.W.2-Jan-02 16:20
Matt.W.2-Jan-02 16:20 
GeneralHTML encapsulation from code Pin
hforbess30-Dec-01 11:23
hforbess30-Dec-01 11:23 
GeneralRe: HTML encapsulation from code Pin
Philip Patrick1-Jan-02 2:37
professionalPhilip Patrick1-Jan-02 2:37 
Hmm... I actually have no idea about PHPConfused | :confused: , but if I understand the question...
No, you don't have to have a different file. Remember that PHP is a server-side scripting language, that means you are writing the final HTML code (which the user will see) right from your .php file. Like this (as I said I dunno PHP, so writing the example like in JavaScript)

if(someVariableYouHave){
  write("<H1>Hello mister</H1>");
}else{
  write("<H3>Good bye, sir</H3>");
}

So if the variable "someVariableYouHave" is true, the end-user will see "Hello mister", otherwise "Good bye"

Philip Patrick
"Two beer or not two beer?" <shakesbeer>
Web-site: www.saintopatrick.com
QuestionActiveX control or C++ library to create VCARDs? Pin
Uwe Keim22-Dec-01 5:38
sitebuilderUwe Keim22-Dec-01 5:38 
GeneralWeird JavaScript Problem Pin
Derek Lakin20-Dec-01 19:59
Derek Lakin20-Dec-01 19:59 
GeneralRe: Weird JavaScript Problem Pin
Philip Patrick23-Dec-01 7:15
professionalPhilip Patrick23-Dec-01 7:15 
GeneralRe: Weird JavaScript Problem Pin
Derek Lakin25-Dec-01 22:24
Derek Lakin25-Dec-01 22:24 
Generalquestion Pin
Steve L.19-Dec-01 13:19
Steve L.19-Dec-01 13:19 
GeneralMmm.... interesting question Pin
Philip Patrick1-Jan-02 9:50
professionalPhilip Patrick1-Jan-02 9:50 
GeneralRe: question Pin
Paul Watson19-Jan-02 8:30
sitebuilderPaul Watson19-Jan-02 8:30 
Generalsecurity of .ocx Pin
marutis16-Dec-01 19:00
marutis16-Dec-01 19:00 
Generalhelp....Using MS Index Server Pin
12-Dec-01 10:00
suss12-Dec-01 10:00 
Generalneed help w/ IIS 5.0 and Access Database Pin
12-Dec-01 8:41
suss12-Dec-01 8:41 
GeneralRe: need help w/ IIS 5.0 and Access Database Pin
Jon Sagara12-Dec-01 8:47
Jon Sagara12-Dec-01 8:47 
GeneralRe: need help w/ IIS 5.0 and Access Database Pin
Jon Sagara12-Dec-01 8:55
Jon Sagara12-Dec-01 8:55 
GeneralRe: need help w/ IIS 5.0 and Access Database (one more time) Pin
Jon Sagara12-Dec-01 8:58
Jon Sagara12-Dec-01 8:58 
GeneralRe: need help w/ IIS 5.0 and Access Database Pin
Jason Jystad13-Dec-01 5:36
Jason Jystad13-Dec-01 5:36 
QuestionMS Date and Time Picker. Bug? Pin
11-Dec-01 0:13
suss11-Dec-01 0:13 
QuestionScriplet and C# in asp.net, No integration??? Pin
ng ks9-Dec-01 23:03
ng ks9-Dec-01 23:03 
QuestionHow to use Split in ASP Pin
Gopi Krishna9-Dec-01 14:33
Gopi Krishna9-Dec-01 14:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.