Answers are numbered according to questions.

1. Contact your hosting provider about this one.
2. Unless the webserver is instructed to let php handle html files, you
cannot include php code within html.  It has to be a php file so php can
process it.
3. Again, contact your hosting provider and ask them to make index.php one
of the default files for your web.
4. I use Cold Fusion Studio (the advanced version of Homesite), it rocks
when coding, but since the wysiwyg in CFS sucks, I do that in Frontpage,
then copy the html code to Homesite.  However, I just got Dreamweaver 4 and
it seems to combine all the features of those two and much more, so I'm
gradually switching over.
5. Use javascript or stylesheets.
6. Go to php.net and mysql.com.  Read their very fine documentation, and it
should help you get started.  PHP can accept variables both from form fields
and in hyperlinks as well as cookies or databases or even textfiles.  It's
extraordinarily flexible and basically it comes down to what YOU want, and
what you feel comfortable with.



-----Original Message-----
From: Jericho Barimen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 2:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Questions about simple php problems


Hello everybody,

I would like to ask you for some help with PHP. I am a
newbie both to the list and to PHP. I try to learn
from the books and manuals, but there are some things
I do mnot understand and I can't read it anywhere in
the books.

Please take a moment and reply to my mail. I know that
such problems as I have may seem lame to most of you,
descent programmers, but I am really desperate to
learn. Unfortunately I am not a programmer by
profesion.

Let me list the problems I have.

1. I registered my domain and I input the right DNs
numbers. After I uploaded html file index.html onto
the server, using ftp program, everything was fine.
However, I also uploaded file called test.html. After
I typed in my domain url address with /test.html the
file was not working. What do I do wrong?

2. Now on with PHP... I tried to write php scripts
inside html files... Simple scripts with <?php .... ?>
Can I do that? Will it work? I think php program is
installed on the server I am using, but the php seems
not to work. What do I do wrong?

3. Now suppose I write a seperate php script as a
seperate file, like test.php. How do I refer to it
from html file in order to make the php script work?
And can I start my web page directly with php? If so
how?

4. What program or editor do you people use in order
to simply "write" or "code" html and php? Till now I
was using Netscape Composer for simple html editing.
But I am sure there are some programming tools... I've
heard there is something like JBuilder, but some
friends of mine tell me it is too powerful tool. Do
you agree? What programming tools would you recommend
for me to code php? What programs do you use?

5. I would like to have a link on my web page that
when I move my mouse cursor on it, it changes and
becomes, for example, underlines or bold or changes
color. How can I do that? How do I do that in php?

6. How can I refer to data base records? If I want to
store date or get data and print it out... Is it only
using cgi and FORM tags? Are there any other ways to
do that?

I would very much appreciate, if people like you, good
programmers could help me and just reply to my points.
Please elaborate, the more you write, teh better I can
understand. It would mean a lot to me if someone could
comment or 'enlighten' me. There are things I can't
find in books and tutorials.

Thank you and I await your replies.

Jericho

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to