5121 Posts in 1527 Topics by 1119 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 459 Views |
-
[SOLVED] When my function returns --> the template crashes

26 May 2011 at 4:30am
Hello SilverStripers !
Can you resolve this and really rrrreally help me ? Here are my functions (in Suivi.php) :
function MesImports($im_num=999) {
$im_member = Member::currentUser();
$imports = DataObject::get("Import", "ClientID = $im_member->ID", "", "", $im_num);
return $imports;
}
function MesExports($ex_num=999) {
$ex_member = Member::currentUser();
$exports = DataObject::get("Export", "ClientID = $ex_member->ID", "", "", $ex_num);
return $exports;
}They work well, BUT they make weird "??" characters appear at the beginning of the page code. It makes the template upside down, especially in IE (but in FF too).
Any idea ?
-
Re: [SOLVED] When my function returns --> the template crashes

26 May 2011 at 9:55pm
Just for everybody to know : Convert the Export.php to UTF-8 without BOM does the trick.
| 459 Views | ||
|
Page:
1
|
Go to Top |

