Jump to content

Total newbee


balamda

Recommended Posts

there are several problems with this site but this is the first one i want to solve, the others probably involve links, as the site was changed from one host's server to another.

 

http://www.miniartgallery.com/

 

it is showing the last 2 lines of this script, i figure it has to do with the -> but am not sure

<?php

require_once("class_arraytojs.php");

include("includes/skdata_p1_inc.php");

$myarray = $navlist;

$easyconvert = new array_to_js();

$easyconvert->add_array($myarray, "p_array");

echo $easyconvert->output_all();

?>

Link to comment
https://forums.phpfreaks.com/topic/200396-total-newbee/
Share on other sites

The object method access operator "->" shouldn't be the problem as it's interpreted by the PHP parser (HTML is interpreted by the browser, and the browser doesn't get any information to interpret until the server has sent it a response, which is after the PHP parser gets to do it's thing).

 

Instead, your problem is probably within one of your functions (either how the output is being prepared, or how it's being written to the browser).

 

You should check your method here:

 

$easyconvert->output_all();

 

As well as how your output is being prepared.

Link to comment
https://forums.phpfreaks.com/topic/200396-total-newbee/#findComment-1051633
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.