Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/11/2010, 03:19
Avatar de ZiTAL
ZiTAL
 
Fecha de Ingreso: marzo-2004
Ubicación: Bermio (Bizkaia)
Mensajes: 1.545
Antigüedad: 20 años, 1 mes
Puntos: 62
Respuesta: pasar variables URL en PHP

los atributos en html llevan comillas dobles por ejemplo:

MAL
Código HTML:
<table width=100% border=0 align=center cellpadding=1 cellspacing=1> 
BIEN
Código HTML:
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1"> 
los tags de php se abren:
Código PHP:
<?php
y si las variables las pasas por URL se recogen por:

Código PHP:
$variable $_GET['variable']; 
por POST se envian mediante formularios o por mediante ajax.
__________________
http://zital.no-ip.org
____________________

Euskerie ahuen eta bijotzan