ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-spanish
php-spanish
Re: [PHP-ES] Asignar varios valores a variables
by Micro Mega Dust other posts by this author
Nov 23 2006 2:40PM messages near this date
[PHP-ES] Asignar varios valores a variables | RE: [PHP-ES] ¿Cómo crear dagramas de barras en PDF por medio de PHP? ...
>  Necesito asignar estas 3 variables a una sola.
>  Ej.
>  DIA=10
>  MES=11
>  ANIO=2006
> 
>         $dia1=$_POST['dia1'];
>         $mes1=$_POST['mes1'];
>         $ano1=$_POST['ano1'];
> 
>  quiero asignarle a la variable FECHATOTAL las variables dia1, mes1, ano1 y
>  que me quede asi: FECHATOTAL=10112006.

$dia1 = 10;
$mes1 = 11;
$ano1 = 2006;
$FECHATOTAL = $dia1 . $mes1 . $ano1; 

-- 
PHP Spanish Localization Talk Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Topoyo Azteca
Claudio Bustos Navarrete
Mariano Guezuraga
Ezequiel Suarez
Micro Mega Dust
Edwin Cruz
Julio Herrera
Fernando Zapata Miranda
jmmartif
dmeneses
dmeneses

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved