All pastes #391071 Raw Edit

Something

public php v1 · immutable
·published 2007-03-11 21:46 UTC
rendered paste body
### dl-info.php ###<?php$titles[1] = "Eazy Portal";$info[1] = "testing 1";$version[1] = "<b>Version:</b> 1.0 <b>Platform(s):</b> linux, windows, freebsd";$titles[2] = "Eazy Portal";$info[2] = "testing 2";$version[2] = "<b>Version:</b> 1.0 <b>Platform(s):</b> linux, windows, freebsd";?>### .php ###include ('includes/dl-info.php');$results = "";foreach( $titles as $title ) {	$results .= "		<table width='95%' border='0'>  <tr class='title'>    <td>$title</td>  </tr>  <tr bgcolor='#FFFFFF'>    <td>$info	<br /><br />	$version	</td>  </tr></table>	";}### ERROR ###$info and $version no returns "Array" - i understand why it does because they are arrays but i need them to work the same as $title i think ...