Jump to content
Join our Facebook Group ×
An Old School Catholic Message Board

Recommended Posts

Thy Geekdom Come
Posted

I'm learning PHP so I can make modifications to our new parish website. Is there a website where you can put in your php code and it will show you what it would look like on a browser?

Posted (edited)

No, not as far as I know. All PHP does as far as the browser is concerned is generate HTML. I've always had to set up a test environment that was a duplicate of the live environment so that you can get all your ducks in a row before sending it to the live server.

There are plenty of sites that will show what your HTML will generate.

BTW, if you're not aware, you can jump in and out of php blocks within html code.

Edited by scardella
Thy Geekdom Come
Posted

[quote name='scardella' post='1560989' date='Jun 6 2008, 11:58 AM']No, not as far as I know. All PHP does as far as the browser is concerned is generate HTML. I've always had to set up a test environment that was a duplicate of the live environment so that you can get all your ducks in a row before sending it to the live server.[/quote]
Hmmm...so I can't actually practice what I'm trying to learn until I get full access to our server...nuts.

Posted (edited)

[quote name='Raphael' post='1560992' date='Jun 6 2008, 12:00 PM']Hmmm...so I can't actually practice what I'm trying to learn until I get full access to our server...nuts.[/quote]

Also, check out this page's advice:
[url="http://forums.digitalpoint.com/showthread.php?t=356093"]http://forums.digitalpoint.com/showthread.php?t=356093[/url]

This link in particular:
[url="http://www.hping.org/phpinteractive/"]http://www.hping.org/phpinteractive/[/url]

Edited by scardella
Posted

PHP is a scripting language and doesn't actually look like anything on a web page. I doubt that you'd actually need to learn PHP to modify your parish's site. You'll probably need to learn HTML and/or some type of content management system that is written in PHP.

Posted (edited)

[quote name='dust (the ultra-handsome' post='1561177' date='Jun 6 2008, 02:39 PM']PHP is a scripting language and doesn't actually look like anything on a web page. I doubt that you'd actually need to learn PHP to modify your parish's site. You'll probably need to learn HTML and/or some type of content management system that is written in PHP.[/quote]

But how will he write infinite loops without PHP? Javascript is SOOO AJAX.

Edited by scardella
Posted

I need to get back and start brushing up on my HTML again. I miss the old days of having infinite amounts of free time on my hands outside of school.

franciscanheart
Posted

yeah php is likely not what you'll need unless someone's told you you'll need it. do you have dreamweaver? and i'd find a testing site/page. it's not really fun to go live with a mess...

Thy Geekdom Come
Posted

[quote name='hugheyforlife' post='1561397' date='Jun 6 2008, 06:19 PM']yeah php is likely not what you'll need unless someone's told you you'll need it. do you have dreamweaver? and i'd find a testing site/page. it's not really fun to go live with a mess...[/quote]
I've been told specifically not to use Dreamweaver because it uses cluttered-up codes. The site is being programmed with PHP. I'm just trying to figure out how to use it in case I ever need to make changes.

Brother Adam
Posted

Micah, you will not need to learn PHP - you will only need to know some basic HTML to altar your website. I will include a comprehensive guide with will contain not only a full template of the website and what each line of code does, but all the basic HTML tags it uses as well. :)

franciscanheart
Posted

[quote name='Raphael' post='1561402' date='Jun 6 2008, 05:21 PM']I've been told specifically not to use Dreamweaver because it uses cluttered-up codes. The site is being programmed with PHP. I'm just trying to figure out how to use it in case I ever need to make changes.[/quote]
:huh: hmm... okaaaayyy....

Posted

[quote name='Raphael' post='1561402' date='Jun 6 2008, 06:21 PM']I've been told specifically not to use Dreamweaver because it uses cluttered-up codes. The site is being programmed with PHP. I'm just trying to figure out how to use it in case I ever need to make changes.[/quote]

you were told wrong

franciscanheart
Posted

[quote name='hot stuff' post='1562108' date='Jun 7 2008, 12:50 AM']you were told wrong[/quote]
thats what i was thinking... but i didnt wanna say it like that... ya know, just in case it was some well-respected person at the church or something... haha.

Posted

[quote name='hot stuff' post='1562108' date='Jun 7 2008, 01:50 AM']you were told wrong[/quote]
There are so many variations of these four words.

You were Told Wrong (that is, your name was Told Wrong)

Were you told, Wrong? (that is, your name is Wrong, and someone is asking if you were told)

Told you were wrong (that is, someone is indicating that they told you that you were wrong)

Told wrong, you were (Yoda indicating that you were told wrong)

You told Were Wrong (that is, you told something to someone named Were Wrong)

Wrong told you, Were (that is, someone named Wrong told something to someone named Were)

Were told wrong, You (that is, someone is indicating that he was told wrong, and he signs the sentence with his name, You)

Posted

[quote name='Era Might' post='1562113' date='Jun 7 2008, 02:56 AM']There are so many variations of these four words.

You were Told Wrong (that is, your name was Told Wrong)

Were you told, Wrong? (that is, your name is Wrong, and someone is asking if you were told)

Told you were wrong (that is, someone is indicating that they told you that you were wrong)

Told wrong, you were (Yoda indicating that you were told wrong)

You told Were Wrong (that is, you told something to someone named Were Wrong)

Wrong told you, Were (that is, someone named Wrong told something to someone named Were)

Were told wrong, You (that is, someone is indicating that he was told wrong, and he signs the sentence with his name, You)[/quote]

:lol_pound:

Brother Adam
Posted

[quote name='Raphael' post='1561402' date='Jun 6 2008, 09:21 PM']I've been told specifically not to use Dreamweaver because it uses cluttered-up codes. The site is being programmed with PHP. I'm just trying to figure out how to use it in case I ever need to make changes.[/quote]

I hope I wasn't the one that told you this, if I was that was a blond moment. I know I said to avoid Frontpage like the plague and NVU is seriously annoying, both will take the HTML of your website and mess it up. DW is the best of the many WYSIWYG editors but personally I think it is too expensive for what it does and one can simply learn how to build cool websites using HTML, CSS and a few nifty websites without the expense. The only tool one truly needs is Notepad or something like Programmer's Notepad, available free.

franciscanheart
Posted

dreamweaver is the bomb. i hope i never have to work without it ever again...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...