Jump to content

Why won't it echo


dudejma

Recommended Posts

This isn't a problem I have right now, it's just something that I've been wondering for a while. What does it mean when a query doesn't echo. Like for instance, if you have a SELECT * FROM blah WHERE blah = 'blah' and you say echo that, why does it not echo it sometimes?

Link to comment
Share on other sites

why does it not echo it sometimes?

 

Some possible reasons -

 

1) Your code contains a fatal php parse error or a fatal runtime error and your code is not being executed.

 

2) The code where your echo statement is at is not being executed (it's inside of a conditional statement that evaluates as false.)

 

3) The code where your echo statement is at is inside of a HTML tag or inside of a HTML form element and the echoed output only appears in the 'view source' of the page in your browser.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.