Ver Mensaje Individual
  #5 (permalink)  
Antiguo 28/08/2009, 09:20
emmet11
 
Fecha de Ingreso: agosto-2009
Mensajes: 7
Antigüedad: 14 años, 8 meses
Puntos: 0
Respuesta: ayuda con funcion select

Lo hago así:

Código:
if ($_POST['CMD']=="SHIP") {
		mysql_select_db($database_dsi, $dsi);
		$query_prod = "select title, value from orders_total where orders_id='".$_POST["ORDERID"]."' and class='ot_shipping' and class='ot_surcharge'";
		$prod = mysql_query($query_prod, $dsi) or die(mysql_error());
		$row_prod = mysql_fetch_assoc($prod);
		$totalRows_prod = mysql_num_rows($prod);

		// post the values back to FT
		echo 
			$row_prod['title'].'|'.
			$row_prod['value'];
	}

Pero creo que el problema es del resto de la función. Alguna idea??