PDA

View Full Version : wanna make a php website - need help please


boo.3
06-21-2005, 10:36 PM
Ok i have done the layout design in Photoshop now what should i do?

do i slice it? and after that what do i do? i'm lost and could use some help

thx

boo

calorie
06-21-2005, 11:19 PM
You mean you want to make, say index.html, into index.php? If so, here's a very simple example.

Slice the image and make the HTML page as usual. Afterwards, when the HTML page looks the way you want, encapsulate the HTML page in PHP as shown below, save as index.php, FTP, and then call index.php from your browser.

<?php

echo <<<END
<html>
<body>
Hello!
</body>
</html>
END;

?>

Of course, TMTOWTDI. ;)

boo.3
06-22-2005, 12:01 AM
ok the part i can't figure out is the "make the HTML page as usual." what do i do here?

calorie
06-22-2005, 12:45 AM
Okay, to make an HTML page, just look how it's done by right clicking on a webpage, and then choose to view the source.

mholtum
06-22-2005, 01:14 AM
ok the part i can't figure out is the "make the HTML page as usual." what do i do here?
Do you know html?

boo.3
06-22-2005, 01:32 AM
very little...

and calorie thanks for that tip

mholtum
06-22-2005, 02:09 AM
Problem is unless you are just going to install a free or purchased script, without knowing at least HTML you would be better off getting someone to do it for you.

I would say get yourself a WYSIWYG HTML editor, like Frontpage or a more advanced one like Dreamweaver. Basically what these do is you create your site much as you would in say MSWord and it creates the HTML code one the fly for you.

boo.3
06-22-2005, 09:01 PM
MSWord? how would i create a code using that?