Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6991167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:27:34+00:00 2026-05-27T19:27:34+00:00

Really puzzled on this, probably simple but it is the day after New Years.

  • 0

Really puzzled on this, probably simple but it is the day after New Years.

I have one line of php ‘inline’ code that fails to execute on the server before the server sends the page to the browser.
Here’s the code:

<div>
    <a href="http://localhost/myProj/thePhpFile.php"> Server says this: <?php "DOOSH"; ?> </a>
</div>

That’s all I have in the body of my html test page. I’m expecting the inline php to put ‘DOOSH’ there into the html then send the html over the client. Not happening.

All I see in the browser is “Server says this:” and nothing else.

The reason this has me confused is — I KNOW the php executes on the server BEFORE the html above is sent over, so why is the DOOSH not being sent? I have tried ‘DOOSH’, “DOOSH”, I even tried writing a php function in the file to return “DOOSH” and nothing works — do I have a syntax problem here?

(NOTE: Doesn’t have much to do with my problem here, but I can successfully click on the “Server says this =>” link and I see thePhpFile.php successfully load, as expected.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:27:35+00:00Added an answer on May 27, 2026 at 7:27 pm

    You need to echo it.

    <?php echo "DOOSH"; ?>
    

    Or the shorthand way,

    <?="DOOSH";?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm really puzzled by this one!! I'm sure it's simple but really can't figure
This really puzzled for hours, I searched all over the internet, but got no
Really ripping my hair out on this one. I have a JAAS Authentication Provider
I am really puzzled by this. I believe I am managing memory the correct
okay...im really puzzled with this. I want to create a regular asp.net webforms website
I have a really puzzling problem: I am writing a PHP CLI application running
This problem is really puzzling to me: I have the following script working on
This might sound kinda strange question but I am puzzled. I was just looking
I have been really puzzled because I was trying to work out some jQuery
This is probably quite a newb question, but I can't seem to figure it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.