MyBB Community Forums

Full Version: MyBB PHP test
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
<?
//making breaded trout fillets in MyBB PHP
define("IN_MYBB", 1); 
$egg_type = "./global.php"; 
require_once $egg_type; 

$bread = "Kingsmill Wholemeal White Loaf";
$breadcrumb = Crumb_bread($bread);

foreach ($breadcrumb as $crumby)
{
	$Egged_breadcrumb = $crumby.$egg_type;
	add_breadcrumb($Egged_breadcrumb,"./fish.php?type=trout");
}
$breaded_trout = "done!";

output_page($breaded_trout);

function Crumb_bread($bread)
{
	$crumb = explode("bonds",$bread);
	return $crumb;
}
?>

If anyone would like to post a more complete tutorial on breading trout within, reply below Smile The same for any questions Smile

There's something wrong with your script. Can you figure out what it is? Smile

I can.
Fixed?
Nope. Toungue
How about now? Toungue
(2012-01-21, 09:32 PM)Nathan Malcolm Wrote: [ -> ]Nope. Toungue
(2012-01-21, 09:37 PM)Tom K. Wrote: [ -> ]How about now? Toungue

(2012-01-21, 09:32 PM)Nathan Malcolm Wrote: [ -> ]Nope. Toungue
AARRGGHH!
(2012-01-21, 09:37 PM)Tom K. Wrote: [ -> ]How about now? Toungue


(2012-01-21, 09:32 PM)Nathan Malcolm Wrote: [ -> ]Nope. Toungue

Pages: 1 2