Forum Moderators: coopster

Message Too Old, No Replies

Outside variables?

         

Ayres

9:12 am on Aug 12, 2004 (gmt 0)

10+ Year Member



From the documentation i've been seeing, there was no reference to this, so i decided to ask.

Is that possible to call a variable in a flie without an include? If yes, how can i do it?

Thanks in advance.

neo_brown

12:32 pm on Aug 12, 2004 (gmt 0)

10+ Year Member



Sorry I may just be ignorant here but could you elaborate on exactly what you are trying to do.

dreamcatcher

2:27 pm on Aug 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can pass form data to another page or you can append your variable to a query string:

page.php?var=string

Which may or may not be want you want.

Ayres

12:05 am on Aug 13, 2004 (gmt 0)

10+ Year Member



Well, forget about it, I just found another way of doing what I want, thanks for your help anyway.

What i wanted to do is the following:

I have a file that creates a list of articles, so, i wanted the script to go to the text files and search for the title, in order to return it to the list...

here is how the text files are made:

<?php $title="title1 1 2 3";?>
The rest of the article here.