Jump to content

Variables -> Echoing Before Declaring


julian0x

Recommended Posts

i want to have this at the top of page:

echo $otheruser;

 

but it won't echo unless i declare $otheruser BEFORE i try echoing it.

(i declare & assign value later on page)

 

*-> is there ANYWAY around this?

i'm using up my api calls too quickly; i want to post (to Twitter), then parse the XML i get back.

 

i can echo variables AFTER that (getting returned XML) on page, but can't figure out how to do it before.

 

thnx.

 

 

Link to comment
https://forums.phpfreaks.com/topic/167042-variables-echoing-before-declaring/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.