What's new

PHP coding help

Vchat20

New member
ok. i am a newbie at php. i have just started for the main reason that my new website uses phpnuke, so i need atleast the very basic php knowledge. well currently, I have none! well, i found this one file on the net that allows me to put in html code and it will work as a module for phpnuke. only problem is the font tag dont work. does anyone know the php equivalent of that tag? im at a loss. my website is http://radio.tsohq.com/ and my email is [email protected]
 

Doomulation

?????????????????????????
To know basics for php is that php is actually a script that outputs html for the web-browser to show. So, basically, to make something look in a special color, output the font-tag.
 
OP
Vchat20

Vchat20

New member
yeah, but like I said before, I dont know any php. all i need to know is the php version of the font tag. cuz it is a php file im putting this into. I tryed putting the html font tag into the php file and it still showed the same boring text.
 

Doomulation

?????????????????????????
something like
PHP:
print("<font color=red face='Comic Sans MS'>text here</font>");

It was quite a while ago i usd php so i don't quite remember the commands... :crazy:
 

Malcolm

Not a Moderator
Doomulation said:
something like
PHP:
print("<font color=red face='Comic Sans MS'>text here</font>");

It was quite a while ago i usd php so i don't quite remember the commands... :crazy:


Also if you are using a program like DreamWeaver or Front page to generate your html you going that have to put a \ before the " sigh, like I show below:
PHP:
echo ("<a href = \"http://www.emutalk.net\">Shameless Plug</a> and \"This text has quotes actually printed around it!\");

As you can see from my example I used echo instead of print, both funcrtions would work the same in the example I have above and both are basically the same function. In about A week I will be putting up some PHP/mySQL tutorials on Emulation64's Tech Support section, which should e up in about 2 days.

this message was typed by Malcolm at McGill uni. in Montreal, Quebec, Canada. He will be returning to his home tonight ;)
 
Last edited:

AlphaWolf

I prey, not pray.
Note to martin: This thread is annoying as hell to read in 1024x768! :p

EDIT: cool, all fixed now :)
 
Last edited:

Top