Jump to content

[SOLVED] inserting values


hchsk

Recommended Posts

i have a .php webpage. in it i include the script

 

[code<?php include("scripts/ranketc.php"); include("scripts/inactivity.php"); ?>[/code]

which includes the function inactive($team);

i insert it the first time,

<?php $inactive = inactive('team1'); print $inactive[display]; ?>

 

and it works! but the second time i insert it,

 

<?php $inactive = inactive('team2'); print $inactive[display]; ?>

 

it fails, and does whoknowswhat to the page, completely ruining it. i have tested it with the team2 parameter, and know that that is not the problem. the function is returning the correct value, which is a string. i have tried modifying my include to

 

<?php $inactive2 = inactive('team2'); print $inactive2[display]; ?>

 

but still to no avail

 

 

any help would be gratefully accepted

Link to comment
https://forums.phpfreaks.com/topic/156738-solved-inserting-values/
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.