Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 19 matches
Smarty Forum Index
Author Message
  Topic: can not work with some chinese letters~
marco5

Replies: 4
Views: 16134

PostForum: Bugs   Posted: Wed Aug 06, 2003 12:05 pm   Subject: can not work with some chinese letters~
what encoding do you use? using utf-8 your example seems to work fine.
u ar right!
if i was using uft-8,it will be fine!!
it is troublesome,as i need to convert to utf-8 every page!
  Topic: can not work with some chinese letters~
marco5

Replies: 4
Views: 16134

PostForum: Bugs   Posted: Wed Aug 06, 2003 12:01 pm   Subject: can not work with some chinese letters~
what encoding do you use? using utf-8 your example seems to work fine.

chinese traditional(big5)
  Topic: can not work with some chinese letters~
marco5

Replies: 4
Views: 16134

PostForum: Bugs   Posted: Wed Aug 06, 2003 11:34 am   Subject: can not work with some chinese letters~
test.php

<?php
require '../libs/Smarty.class.php';
$smarty=new smarty;
$smarty->display('for.tpl');
?>

test.tpl

{if $test eq ""}

{/if}
...
  Topic: What editor to use for Smarty?
marco5

Replies: 8
Views: 16614

PostForum: General   Posted: Thu Jul 31, 2003 3:26 am   Subject: What editor to use for Smarty?
EditPlus

highlight with php codes
instance debug
stable,i never hang
  Topic: Formsess, a smarty driven forms toolkit
marco5

Replies: 5
Views: 10671

PostForum: General   Posted: Wed Jul 30, 2003 1:01 pm   Subject: Formsess, a smarty driven forms toolkit
it will be easier to understand as soon as there is a demo online, i think. A good demo is better than a huge explanation : Rolling Eyes
yes..i do think so!!
  Topic: Formsess, a smarty driven forms toolkit
marco5

Replies: 5
Views: 10671

PostForum: General   Posted: Wed Jul 30, 2003 12:41 pm   Subject: Formsess, a smarty driven forms toolkit
sorry

i still can not get the point!!
Embarassed Embarassed Embarassed Embarassed
  Topic: Formsess, a smarty driven forms toolkit
marco5

Replies: 5
Views: 10671

PostForum: General   Posted: Wed Jul 30, 2003 12:06 pm   Subject: Formsess, a smarty driven forms toolkit
what is it used for?
  Topic: html_options problem
marco5

Replies: 2
Views: 5255

PostForum: General   Posted: Tue Jul 29, 2003 7:07 pm   Subject: html_options problem
{html_options name="location" values=$country output=$country selected=$location } should do
kool!!

it is working!!

this page's example makes me to make this mistake!!~_~
...
  Topic: Multiple Form Issue
marco5

Replies: 16
Views: 32010

PostForum: General   Posted: Tue Jul 29, 2003 6:58 pm   Subject: Re: Multiple Form Issue
Is there a Smarty problem with using multiple form values with the same name? For instance, I have a script that outputs many records so a user can delete or edit the records in a database, normally I ...
  Topic: Multiple Form Issue
marco5

Replies: 16
Views: 32010

PostForum: General   Posted: Tue Jul 29, 2003 6:56 pm   Subject: Multiple Form Issue
haha!!
it likes php4.32 support input type=text case!!
i remember 4.30 does not support it,can not use count($_POST['hk'])

koo

Embarassed Embarassed Embarassed Embarassed Embarassed Embarassed Embarassed Embarassed ...
  Topic: Multiple Form Issue
marco5

Replies: 16
Views: 32010

PostForum: General   Posted: Tue Jul 29, 2003 6:45 pm   Subject: Multiple Form Issue
if u want to use multiple name
,u should use this script to handle.like this

<?php
if($_GET
  Topic: Multiple Form Issue
marco5

Replies: 16
Views: 32010

PostForum: General   Posted: Tue Jul 29, 2003 6:38 pm   Subject: Multiple Form Issue
I'm getting my values from the database with no problem, because I can see the values in my form. I know that values are there, they are just not passing in an array to my print_r() statement.
i have ...
  Topic: Multiple Form Issue
marco5

Replies: 16
Views: 32010

PostForum: General   Posted: Tue Jul 29, 2003 6:29 pm   Subject: Multiple Form Issue
this is an example for u

<?php
//test.php
require_once("./libs/Smarty.class.php");
$tpl=new Smarty;
$tpl->assign("info",array(1,2,3,4));
$tpl->display("test.tpl");
?>



{ ...
  Topic: Multiple Form Issue
marco5

Replies: 16
Views: 32010

PostForum: General   Posted: Tue Jul 29, 2003 6:19 pm   Subject: Multiple Form Issue
um

whatever happens u must to run this function $xx->assign()
  Topic: Multiple Form Issue
marco5

Replies: 16
Views: 32010

PostForum: General   Posted: Tue Jul 29, 2003 6:09 pm   Subject: Multiple Form Issue
I don't have any handline code yet because I have nothing to handle. I'm just using print_r() at this point to see the array.
have u assign the value to info^^?

i mean this:
$Smarty->assign("i ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP