<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RECURSOS WEB &#187; diseo web malaga</title>
	<atom:link href="http://www.flashmania.es/recursos_web/tag/diseo-web-malaga/feed" rel="self" type="application/rss+xml" />
	<link>http://www.flashmania.es</link>
	<description>RECURSOS WEB</description>
	<lastBuildDate>Thu, 08 Dec 2011 16:42:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>CURSO PHP III: CONCATENAR Y VARIABLES EN PHP</title>
		<link>http://www.flashmania.es/recursos_web/curso-php-iii-concatenar-y-variables-en-php</link>
		<comments>http://www.flashmania.es/recursos_web/curso-php-iii-concatenar-y-variables-en-php#comments</comments>
		<pubDate>Sat, 17 Jan 2009 15:31:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CURSO PHP]]></category>
		<category><![CDATA[CURSOS DIRECTOS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PROGRAMACIÓN]]></category>
		<category><![CDATA[RECURSOS]]></category>
		<category><![CDATA[RECURSOS WEB]]></category>
		<category><![CDATA[diseño web madrid]]></category>
		<category><![CDATA[diseño web malaga]]></category>
		<category><![CDATA[diseño web nerja]]></category>
		<category><![CDATA[diseo web malaga]]></category>
		<category><![CDATA[especialista web]]></category>
		<category><![CDATA[infoarquitectura malaga]]></category>
		<category><![CDATA[Juan Garcia Delicado]]></category>
		<category><![CDATA[recursos seo]]></category>
		<category><![CDATA[www.4cuarenta.com]]></category>
		<category><![CDATA[www.flashmania.es]]></category>
		<category><![CDATA[www.menaline.com]]></category>
		<category><![CDATA[www.servimena.es]]></category>

		<guid isPermaLink="false">http://www.flashmania.es/?p=254</guid>
		<description><![CDATA[CURSO DE PHP III: CONCATENAR Y VARIABLES EN PHP Buenas de nuevo chicos, hoy veremos las variables en php. ¿Qué es una variable? Una variable es un simbolo que significa algo. Sé que puede llegar a ser dificil de analizar de primeras, pero es mucho más sencillo de lo que pensamos que es. Bien pondré un sencillo ejemplo: a=5; ahí estaríamos declarando una variable, estamos diciendo que el símbolo &#8220;a&#8221;, significa el valor numérico &#8220;5&#8243;. Así que en php podemos jugar declarando variables haciendo algo así: SINTAXIS Para declarar variables en php, sólo tendrémos en cuenta que se declaran con el simbolo dolar (&#8220;$&#8221;), delante del nombre que le asignemos a la variable, como se puede ver en el ejempo que he puesto comentado. Las variables tambien permiten ejecutar secuencias, como por ejemplo, expresiones o calculos tal y como ocurre en el siguiente caso: u otro ejemplo podría ser: En este último ejemplo he introducido la concatenación, ¿Qué es la concatenación? La concatenación en los lenguajes de programación se utiliza para UNIR cosas. en la ultima linea del último script ,he concatenado dos variables. Las concatenaciones con php se hacen mediante un punto (.) Recurso Ofrecido por Juan Garcia Delicado www.flashmania.es sugerencias en: webmaster@4cuarenta.com]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_336" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flashmania.es/wp-content/varios/curso_php.jpg"><img class="size-full wp-image-336" title="curso_php" src="http://www.flashmania.es/wp-content/varios/curso_php2.jpg" alt="CURSO PROFESIONAL DE PHP DE ACCESO PUBLICO" width="500" height="150" /></a><p class="wp-caption-text">CURSO PROFESIONAL DE PHP DE ACCESO PUBLICO</p></div><br />
<strong>CURSO DE PHP III: CONCATENAR Y VARIABLES EN PHP</strong></p>
<p>Buenas de nuevo chicos, hoy veremos las variables en php. <strong>¿Qué es una variable? </strong>Una variable es un simbolo que significa algo. Sé que puede llegar a ser dificil de analizar de primeras, pero es mucho más sencillo de lo que pensamos que es.<br />
Bien pondré un sencillo ejemplo:<br />
a=5;<br />
ahí estaríamos declarando una variable, estamos diciendo que el símbolo "a", significa el valor numérico "5".<br />
Así que en php podemos jugar declarando variables haciendo algo así:</p>
<div class="igBar"><span id="lcode-1"><a href="#" onclick="javascript:showCodeTxt('code-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-1">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;?php</div>
</li>
<li style="font-weight: bold;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$variable = <span style="color:#CC0000;">"Hola mundo"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo $variable; <span style="color:#FF9933; font-style:italic;">// Imprime hola mundo</span></div>
</li>
<li style="font-weight: bold;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">?&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>SINTAXIS</strong><br />
Para declarar variables en php, sólo tendrémos en cuenta que se declaran con el simbolo dolar ("$"), delante del nombre que le asignemos a la variable, como se puede ver en el ejempo que he puesto comentado.</p>
<p>Las variables tambien permiten ejecutar secuencias, como por ejemplo, expresiones o calculos tal y como ocurre en el siguiente caso:</p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showCodeTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;?php</div>
</li>
<li style="font-weight: bold;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$variable = <span style="color:#800000;color:#800000;">2</span>.<span style="color:#800000;color:#800000;">5</span> * <span style="color:#800000;color:#800000;">2</span> ;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo $variable; <span style="color:#FF9933; font-style:italic;">// Imprime 5</span></div>
</li>
<li style="font-weight: bold;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">?&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
u otro ejemplo podría ser:</p>
<div class="igBar"><span id="lcode-3"><a href="#" onclick="javascript:showCodeTxt('code-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-3">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;?php</div>
</li>
<li style="font-weight: bold;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$a = <span style="color:#CC0000;">"Hola "</span> ;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$b = <span style="color:#CC0000;">"Chicos"</span>;</div>
</li>
<li style="font-weight: bold;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo $a.$b; <span style="color:#FF9933; font-style:italic;">// Imprime Hola chicos</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#010101;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">?&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
En este último ejemplo he introducido la concatenación, ¿Qué es la concatenación? La concatenación en los lenguajes de programación se utiliza para UNIR cosas. en la ultima linea del último script ,he concatenado dos variables. Las concatenaciones con php se hacen mediante un punto (.)<br />
<strong>Recurso Ofrecido por Juan Garcia Delicado<br />
www.flashmania.es sugerencias en: webmaster@4cuarenta.com</strong><br />
<script type="text/javascript"><!--
google_ad_client = "pub-1979802506816137";
/* 468x60, creado 5/06/09 */
google_ad_slot = "4533650009";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmania.es/recursos_web/curso-php-iii-concatenar-y-variables-en-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

