Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

variable from outside of

Status
Not open for further replies.
you mean like
if( 1 == 1 ){
$number="one";
}else{
$number="not one";
}

echo $number; ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
yes, but i think i have already solved my problem.
 
sorry, turns out i hadnt solved my problem, can anyone help me?
 
Dunno, post some code or something - we can't mind read from great distances ;-) ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
just like your example:

you mean like
if( 1 == 1 ){
$number="one";
}else{
$number="not one";
}

echo $number;
 
What are you trying to do ? if you post your page code then its easier to see what youre trying to accomplish. ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top