LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-07-2008, 08:33 PM   #1
mannclay
Member
 
Registered: Nov 2007
Location: Brooklyn, NY
Distribution: eeeMint
Posts: 52

Rep: Reputation: 15
PHP without HTML


Does one really have to master HTML in order to do PHP work?

From what I gather about PHP, it seems to be in the background and finds a home embedded in HTML, yet a browser would never show its existence outright, right?
 
Old 11-07-2008, 10:58 PM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
If you are using PHP to create a web site then understanding HTML is close to essential.
If you are using PHP for command line scripts or other none web stuff then you don't need to understand HTML
 
Old 11-07-2008, 11:23 PM   #3
mannclay
Member
 
Registered: Nov 2007
Location: Brooklyn, NY
Distribution: eeeMint
Posts: 52

Original Poster
Rep: Reputation: 15
You mean, I can use PHP for web development nad not touch a tag of HTML??
 
Old 11-07-2008, 11:46 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
No, it means you can use PHP as a scripting language that doesn't have anytning to do with a web site.
 
Old 11-08-2008, 12:20 AM   #5
mannclay
Member
 
Registered: Nov 2007
Location: Brooklyn, NY
Distribution: eeeMint
Posts: 52

Original Poster
Rep: Reputation: 15
I gotta look into that! That's totally new to me.

So why has it been stuck on web development? Maybe it simply work well for web problem solving.
 
Old 11-08-2008, 12:27 AM   #6
diligentwarrior
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by mannclay View Post
I gotta look into that! That's totally new to me.

So why has it been stuck on web development? Maybe it simply work well for web problem solving.
Because it has largely been designed for web development. PHP originally stood for "Personal Home Page".
 
Old 11-09-2008, 01:24 PM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
PHP is a nice scripting language, and there is no requirement at all to use it in combination with HTML. I have written a fairly large application using a web interface, but over 90% is HTML free and contain normal functions. A lot of them for accessing MySQL.

In addition there are a few pieces of program which do not use the web interface at all and interface thru the command line. But the libraries I use are exactly the same.

jlinkels
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
html vs. php kotty Programming 13 11-28-2007 04:20 AM
html vs. php feder Programming 9 11-02-2007 08:45 AM
Apache rending php when filename is x.php.html mastahnke Linux - Server 6 01-22-2007 08:39 AM
Html/php karan101 Programming 10 08-03-2006 02:42 AM
html into php charnel Programming 7 08-30-2005 10:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration