Ver Mensaje Individual
  #9 (permalink)  
Antiguo 18/01/2013, 19:32
Avatar de arcanisgk122
arcanisgk122
 
Fecha de Ingreso: junio-2010
Mensajes: 755
Antigüedad: 13 años, 11 meses
Puntos: 28
Respuesta: sacar informacion con parametros

Código PHP:
Ver original
  1. $cargo=mysql_query("select tuser from user where username=$preuser AND id=$preid ", $link);
  2.     $my_error = mysql_error($link);
  3.     $revcargo=mysql_fetch_assoc($cargo);
  4.     if ( $precargo >= $revcargo) {
__________________
Cooler Master Gladiator 600 - AMD PHENOM II X4 955 @ 3.5GHZ
GA-MA78GM-US2H - Super Talent 800 2GB x 2 Dual, (Unganged)
PSU Cooler Master eXtreme Power Plus 500W - Saphire R7-260OC-2GB