Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/10/2011, 08:02
Avatar de Patriarka
Patriarka
 
Fecha de Ingreso: enero-2011
Ubicación: Moreno, Buenos Aires, Argentina
Mensajes: 2.851
Antigüedad: 13 años, 3 meses
Puntos: 288
Respuesta: CoLlaboracion para constula wpdb con php.

hola por que no lo haces facil:

Código PHP:
Ver original
  1. echo '<pre>';
  2. echo var_dump($_GET); //MOSTRAME ESTE ESULTADO
  3. echo '</pre>';    
  4.  
  5. if(isset($_GET['get']) && $_GET['get']=="list"){
  6.     if(!is_numeric($_GET['id'])){exit("error!");}
  7.         $id=$_GET['id'];
  8.         $result = $msdb->query("SELECT * FROM ms_cp WHERE id = $id ");
  9.     if(!$result){die('eror!!!');}
  10.         $row = mysql_fetch_array($result, MYSQL_ASSOC);
  11.         //$toditit=array($row['namesos'],$row['calle'],$row['nuermo'],$row['postal'],$row['link']);
  12.         ?>