News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

February 24, 2020, 10:12:09 AM

Login with username, password and session length


  • Total Posts: 189514
  • Total Topics: 20801
  • Online Today: 124
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 1
Guests: 65
Total: 66

Author Topic: A php related question  (Read 1405 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
A php related question
« on: June 13, 2006, 05:16:31 AM »
hi   ;D

i wanted to ask if i put HTML tags between the echo statement in a PHP file it is displayed like a normal HTML page would be yea?

I ask cos one of my pages is entirely in HTML and im thinking of putting everything in PHP by putting it all between echo statements

would it work? The pages use all sotra html, tables, embeds, images, hyprlinks, etc etc Or are there any limitations?


Another question I have is....AFTER i convert all the files to PHP can I display "users online" on the pages even if its on a seperate domain?

Cos the page im talking about (in HTML is on .com) and SMF is on .net so will it still work? To be able to show whose online on the .net site at the .com site?


and last question...would it be possible for me to put a login box on the .com site for the .net site? so that if a user logs into .com they are actually logging into the forum but are redirected to the page they are currently on the .com site?




  • Guest
Re: A php related question
« Reply #1 on: June 13, 2006, 05:51:28 AM »
If your whole page is straight html, it's probably simplest to close the php and just put it straight out.

php code
html code
more php code

And you can log into anywhere, just change the form's url


  • Guest
Re: A php related question
« Reply #2 on: June 13, 2006, 07:24:40 AM »
aahhhh - look out worl here comes my new php page :D

thanks for the info ill get to experimentation straight away.

I went to to try and learn some stuff but its not vry helpful

there was a w3wcschool or some sorta site someone once gave me, do u my any chance know of it so i can learn some stuff?:D


Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: A php related question
« Reply #3 on: June 13, 2006, 07:29:07 AM »
Here's a really good one that Feline shared with me.


  • Guest
Re: A php related question
« Reply #4 on: June 13, 2006, 07:52:27 AM »
thanks :D It will help me a lot in the projects im undertaking currently :D