Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
September 04, 2010, 09:38:54 AM
Home
Help
Search
Calendar
Login
Register
PHP Help Forum
|
Programming Help On Specific Projects
|
PHP Scripts and Tips
|
Help a noob!
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Help a noob! (Read 227 times)
marco423
Newbie
Karma: +0/-0
Offline
Posts: 2
Help a noob!
«
on:
April 10, 2010, 06:19:36 AM »
ok so im finding whenever i link to a file, the PHP code will not show up, only the html code. for example:
if i link to one.php and its contents are:
<?php
echo hello;
?>
This is my html code.
only this is my html code will show up. not hello.
could it be like an installation error? or what please help me.
Report to moderator
Logged
RoseKnight
Sr. Member
Karma: +0/-0
Offline
Posts: 52
Re: Help a noob!
«
Reply #1 on:
April 10, 2010, 08:29:24 AM »
when using a string, make sure you have the string in between quotes.
e.g.
instead of:
echo hello;
use:
echo 'hello';
Report to moderator
Logged
marco423
Newbie
Karma: +0/-0
Offline
Posts: 2
Re: Help a noob!
«
Reply #2 on:
April 12, 2010, 03:00:05 AM »
that doesnt make a difference
Report to moderator
Logged
Goldie_
Newbie
Karma: +0/-0
Offline
Posts: 2
Re: Help a noob!
«
Reply #3 on:
April 14, 2010, 07:11:51 AM »
- open php.ini
- find display_errors
- change it to "display_errors = On"
- save it and close it
- restart server
then you'll see where is the error
Report to moderator
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcments
=> Tell Us About You Or Your Business
=> Suggestions
-----------------------------
Programming Help On Specific Projects
-----------------------------
=> PHP Problem Solvers - Get Help Here
=> Website Design Tips and Ideas
=> Domain and Hosting Tips
=> Ajax Tips and Advice
=> Web Marketing Tips and ADvice
=> JavaScript tips and Ideas
=> SQL Scripts and Tips
=> PHP Scripts and Tips
=> General Tips
-----------------------------
Jobs For Others - Helping Others Make Ends Meet During Tryiing Times
-----------------------------
=> Have a Job That Needs to Be Completed? Post it here to get bids
=> Need Work? Post your Specialty Here For all.
-----------------------------
Search Engines - How do the Work and Why Should We Care?
-----------------------------
=> Web Development for Search
=> SEO Info And Tips
-----------------------------
Pit Stop - About Your Developmet Company (Tip: Add a Link to Your Site
-----------------------------
=> About you, Start Here
=> Off Topic - Anything from Ideas for Business to Polls on Business Eithics
-----------------------------
Harware Issues - Got a Nice Rig?
-----------------------------
=> Anyone Selling Parts? I have Plenty Dirt Cheap, Let me know what you need.
=> X58 and DDR3 - Anyone Else have the Core I7?
-----------------------------
Operating System Help - I love this one!
-----------------------------
=> Vista Ideas - Post your Problem and We will get it fixed for you.
=> Free Stuff
=> Mac OS X Lepard
Loading...