# Dynamic Compiling of PHP

**URL:** <https://forum.kirupa.com/t/dynamic-compiling-of-php/159331>\
**Category:** programming\
**Created:** [August 16, 2005, 7:37pm UTC](https://forum.kirupa.com/t/dynamic-compiling-of-php/159331 "2005-08-16T19:37:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bandinopla](https://avatars.discourse-cdn.com/v4/letter/b/9e8a1a/32.png) [@bandinopla](https://forum.kirupa.com/u/bandinopla)\
**Post date:** [August 16, 2005, 7:37pm UTC](https://forum.kirupa.com/t/dynamic-compiling-of-php/159331/1 "2005-08-16T19:37:08Z")

</div>

This si my question… mabie exist another way to do it.

I have a php in one server that returns to me results of a query to the database in that server… then it tak ethe results into a variable, doing this:

```php

$r=file("http://.../t.php?t=value");

```

how can I echo the resuslts in the t.php file so then order it in an array and then I can acces the results like I could do with mysql\_results()…?

is this posible in some way?

```php

$var1="array(1,2,3) @ array(a,b,c)"
$var2=explode('@', $var1)

echo $var2[0][0]; # trace 1
echo $var2[1][0]; # trace a

```
