good day! i'm a newbie in php. but i know the basic things like what is server side and what is client side. my question is is it "OK" if i place a php script (which is a server side) in the page that my client views? i dont know if this is a stupid question but please answer it im just soooo curious about this.
jjemphoung
0
Light Poster
Recommended Answers
Jump to Post<dtd with all the doo dah> <html> <head> <!-- bla bla --> </head> <body> <?php /* huge amount of php script, perfectly OK, user does not see the php, only the output of the script after it is completed */ echo '<p>this is visible</p>'; ?> <!-- more …
Jump to PostThe term server side and client side denotes from where the code is rendered or processed. Thats all!.
Actually there is no pages like client page or server page.
If you look at Mr.Rob's (almostbob) example you can see that he has included php script along with html which …
All 6 Replies
almostbob
866
Retired: passive income ROCKS
jjemphoung
0
Light Poster
danishbacker
0
Junior Poster in Training
almostbob
866
Retired: passive income ROCKS
Stefano Mtangoo
455
Senior Poster
jjemphoung
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.