Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
Problem showing value
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
Simple Multilingualism
>
All threads
>
Problem showing value
>
(Un) Subscribe thread alerts
Subject:
Problem showing value
Summary:
How to show the variable
Messages:
2
Author:
Burnside
Date:
2013-09-12 07:56:28
Update:
2013-09-17 16:02:03
1. Problem showing value
Reply
Report abuse
Burnside - 2013-09-12 07:56:28
Hi,
I try to make working your class bur I have some problems...
1) Is it normal that's you have <?= and not <?php.
2) How to show the value of the field, because this <?= $lang->view('hello') ?> is not working.
Regards
Burnside.
2. Re: Problem showing value
Reply
Report abuse
saadi ali - 2013-09-17 16:02:03 -
In reply to
message 1
from Burnside
Sorry for the delay in a reply
You can print in any way
<?php echo $lang->view('hello'); ?>
or
<?= $lang->view('hello') ?>
Just make sure the definition of the class
$lang = new language('EN');
'EN' of course, is the default language
you can explain more (What is the text of the error message you have ?)
Sorry for the delay in a reply ,
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2024
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger