Hi, I have a problem with my site due to ColdFusion cfmail tag, so I decided translate the whole code to PHP, but I am new with this languaje and I do not know the sintaxis, so if someone knows how can I translate it, I will appreciate. Thanks.
The follow code is for a virtual store:
<CFLOOP collection="#Session.Carrito#" item="i">
<cfset xnumero = #Session.Carrito[i][10]#>
<cfif not isnumeric(#xnumero#)>
<cfset xnumero = 1>
</cfif>
</CFLOOP>