<?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[Comando mysql ??]]></title><description><![CDATA[<p dir="auto">Ciao a tutti..<br />
Mi servirebbe un comando MySql che fà visualizzare la riga di informazioni relativa al PRIMARY KEY che ha inserito..(datogli da un admin)<br />
Come potrei fare?</p>
]]></description><link>https://dev.connect.gt/topic/83996/comando-mysql</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 21:29:46 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/83996.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Oct 2008 12:55:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Comando mysql ?? on Wed, 01 Oct 2008 19:54:24 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>Oliviero</strong></p>
<p dir="auto">index.php [Form] &lt;input type="text" value="prova" action="prova.php&gt;<br />
prova.php =</p>
<pre><code class="language-php">$host = HOST
$user = USER
$pass = PASS
$name = NOME
$codice = $_POST['prova'];
$db = mysql_connect($host, $user, $pass);
$selezione = mysql_select_db($name, $db);
$query = "SELECT testo FROM [boh] WHERE id = '$prova'";
$testo= mysql_query($query, $db) or die ('errore');
echo $testo;
mysql_close();
</code></pre>
<p dir="auto">moolto semplificato</p>
</blockquote>
<p dir="auto">mi sà che ti sei scordato un pezzo...</p>
<pre><code class="language-php">$host = HOST
$user = USER
$pass = PASS
$name = NOME
$codice = $_POST['prova'];
$db = mysql_connect($host, $user, $pass);
$selezione = mysql_select_db($name, $db);
$query = "SELECT testo FROM [boh] WHERE id = '$codice'";
$q_testo= mysql_query($query, $db) or die ('errore');
$testo = mysql_fetch_array($q_testo);
echo $testo;
mysql_close();
</code></pre>
]]></description><link>https://dev.connect.gt/post/764484</link><guid isPermaLink="true">https://dev.connect.gt/post/764484</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Wed, 01 Oct 2008 19:54:24 GMT</pubDate></item><item><title><![CDATA[Reply to Comando mysql ?? on Wed, 01 Oct 2008 19:52:32 GMT]]></title><description><![CDATA[<p dir="auto">index.php [Form] &lt;input type="text" value="prova" action="prova.php&gt;<br />
prova.php =</p>
<pre><code class="language-php">$host = HOST
$user = USER
$pass = PASS
$name = NOME
$codice = $_POST['prova'];
$db = mysql_connect($host, $user, $pass);
$selezione = mysql_select_db($name, $db);
$query = "SELECT testo FROM [boh] WHERE id = '$prova'";
$testo= mysql_query($query, $db) or die ('errore');
echo $testo;
mysql_close();
</code></pre>
<p dir="auto">moolto semplificato</p>
]]></description><link>https://dev.connect.gt/post/764485</link><guid isPermaLink="true">https://dev.connect.gt/post/764485</guid><dc:creator><![CDATA[oliviero]]></dc:creator><pubDate>Wed, 01 Oct 2008 19:52:32 GMT</pubDate></item><item><title><![CDATA[Reply to Comando mysql ?? on Wed, 01 Oct 2008 19:50:13 GMT]]></title><description><![CDATA[<p dir="auto">$POST['prova]</p>
<p dir="auto">poi la il risultato della query te lo elabori come meglio ti serve</p>
]]></description><link>https://dev.connect.gt/post/764483</link><guid isPermaLink="true">https://dev.connect.gt/post/764483</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Wed, 01 Oct 2008 19:50:13 GMT</pubDate></item><item><title><![CDATA[Reply to Comando mysql ?? on Wed, 01 Oct 2008 18:15:12 GMT]]></title><description><![CDATA[<p dir="auto">il codice completo?<br />
Cioè basta fare:</p>
<p dir="auto">Index.php= &lt;input type="text" value="prova" action="prova.php&gt;<br />
prova.php= where id="$prova</p>
<p dir="auto">??</p>
]]></description><link>https://dev.connect.gt/post/764499</link><guid isPermaLink="true">https://dev.connect.gt/post/764499</guid><dc:creator><![CDATA[lorflea]]></dc:creator><pubDate>Wed, 01 Oct 2008 18:15:12 GMT</pubDate></item><item><title><![CDATA[Reply to Comando mysql ?? on Wed, 01 Oct 2008 17:25:35 GMT]]></title><description><![CDATA[<p dir="auto">WHERE id = '$var'</p>
<p dir="auto">dove $var è il dato in input che proviene dal form</p>
]]></description><link>https://dev.connect.gt/post/764482</link><guid isPermaLink="true">https://dev.connect.gt/post/764482</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Wed, 01 Oct 2008 17:25:35 GMT</pubDate></item><item><title><![CDATA[Reply to Comando mysql ?? on Wed, 01 Oct 2008 13:55:11 GMT]]></title><description><![CDATA[<p dir="auto">Mi spiego meglio:<br />
Devo fare un form in cui l'utente inserisce un codice.<br />
Quel codice, che sarebbe il primarykey della riga della tabello mysql deve identificare la riga, e deve mostrare il contenuto della riga all'utente..<br />
Ma non so come fare</p>
]]></description><link>https://dev.connect.gt/post/764495</link><guid isPermaLink="true">https://dev.connect.gt/post/764495</guid><dc:creator><![CDATA[lorflea]]></dc:creator><pubDate>Wed, 01 Oct 2008 13:55:11 GMT</pubDate></item><item><title><![CDATA[Reply to Comando mysql ?? on Wed, 01 Oct 2008 13:49:02 GMT]]></title><description><![CDATA[<p dir="auto">Non si capisce la domanda mi dispiace!</p>
]]></description><link>https://dev.connect.gt/post/764487</link><guid isPermaLink="true">https://dev.connect.gt/post/764487</guid><dc:creator><![CDATA[oliviero]]></dc:creator><pubDate>Wed, 01 Oct 2008 13:49:02 GMT</pubDate></item></channel></rss>