<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[estrazione di un record]]></title><description><![CDATA[<p dir="auto">Salve a tutti e buon anno.<br />
Mi interessa estrarre i dati da un solo record che viene selezionato tramite form.<br />
UN'operazione facile. Eppure non ci riesco. Mi ritorna questa risposta:</p>
<p dir="auto"><strong>Fatal error</strong>:  Call to undefined function mysql_fetch_rows() in <strong>...</strong> on line <strong>109</strong></p>
<p dir="auto">Ecco il codice in questione:</p>
<pre><code class="language-php">$id= $_POST ['id']; /* recupero valore della scelta ID dal file di ricerca */
$sql= "SELECT * FROM libri WHERE IdLibri = $id";    
$result=mysql_query($sql);
$row = mysql_fetch_rows($result); // riga 109
    
    echo 'id: ' ."&lt;b&gt;" . $row[0] . "&lt;/b&gt;" .'&lt;br /&gt;';
    echo 'scaffale: ' . $row[1] . '&lt;br /&gt;';
    echo 'titolo: ' . $row[2] . '&lt;br /&gt;&lt;br /&gt;';
    echo 'anno: ' . $row[3] . '&lt;br /&gt;';
    echo 'note: ' . $row[4] . '&lt;br /&gt;';
    echo 'abstract: ' . $row[5] . '&lt;br /&gt;';
</code></pre>
<p dir="auto">Come posso correggere l'errore ? Grazie</p>
]]></description><link>https://dev.connect.gt/topic/206519/estrazione-di-un-record</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 03:59:33 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/206519.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 03 Jan 2015 15:19:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to estrazione di un record on Thu, 08 Jan 2015 18:12:10 GMT]]></title><description><![CDATA[<p dir="auto">Grazie.</p>
]]></description><link>https://dev.connect.gt/post/1174303</link><guid isPermaLink="true">https://dev.connect.gt/post/1174303</guid><dc:creator><![CDATA[artspecial]]></dc:creator><pubDate>Thu, 08 Jan 2015 18:12:10 GMT</pubDate></item><item><title><![CDATA[Reply to estrazione di un record on Mon, 05 Jan 2015 15:18:36 GMT]]></title><description><![CDATA[<p dir="auto">L'errore è che la funzione si chiama mysql_fetch_row(), senza la "s" finale.</p>
<p dir="auto">Ciao</p>
]]></description><link>https://dev.connect.gt/post/1174304</link><guid isPermaLink="true">https://dev.connect.gt/post/1174304</guid><dc:creator><![CDATA[oslino]]></dc:creator><pubDate>Mon, 05 Jan 2015 15:18:36 GMT</pubDate></item></channel></rss>