Re: mysql_fetch_array
debería ser:
<?php
$conectar= @mysql_connect("servidor","usuario","clave");
// añado ésta línea
@mysql_select_db("base", $conectar);
$consulta1 = "SELECT * FROM d_modelo";
// quito el parametro "base"
$accion1 = mysql_db_query($consulta1, $conectar);
while($row1 = mysql_fetch_array($accion1)){
?>
<modelo id="<? print $row1["id_m"]; ?>"
nModelo="<? print $row1["nModelo"]; ?>">
<?
print "</modelo>";
//}
?>
prueba así
ff
Subject
Views
Written By
Posted
8898
August 25, 2006 04:25PM
Re: mysql_fetch_array
3202
August 26, 2006 08:40AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.