<?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[Rendere dati di una tabella mysql link]]></title><description><![CDATA[<p dir="auto">Ciao a tutti, sto creando per il mio sito un motore di ricerca che ricerchi i miei articoli tutorial... Ho già creato il mio database e la mia searchbar, tutto funziona come dovrebbe ma mi manca di implementare la funzione del "far diventare link" i dati che vengono fuori come output dopo della ricerca, solamente che non so dove mettere le mani; mi potreste molto gentilmente aiutare? Grazie mille...<br />
Vi lascio i link della searchbar e il codice<br />
link= <a href="https://hard-questions.com/try/ggg.php" rel="nofollow ugc">https://hard-questions.com/try/ggg.php</a></p>
<pre><code class="language-php">&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;head&gt;    &lt;title&gt;Search Bar using PHP&lt;/title&gt;&lt;/head&gt;&lt;body&gt;
&lt;form method="post"&gt;&lt;label&gt;Search&lt;/label&gt;&lt;input type="text" name="search"&gt;&lt;input type="submit" name="submit"&gt;    &lt;/form&gt;
&lt;/body&gt;&lt;/html&gt;
&lt;?php
$con = new PDO("mysql:host=sql300.epizy.com;dbname=epiz_24872058_hardquestions",'epiz_24872058','yLzTqP0MzhWpmNs');


if (isset($_POST["submit"])) {    $str = $_POST["search"];    $sth = $con-&gt;prepare("SELECT * FROM `search` WHERE Name = '$str'");
    $sth-&gt;setFetchMode(PDO:: FETCH_OBJ);    $sth -&gt; execute();
    if($row = $sth-&gt;fetch())    {        ?&gt;        &lt;br&gt;&lt;br&gt;&lt;br&gt;        &lt;table&gt;            &lt;tr&gt;                &lt;th&gt;Name&lt;/th&gt;                &lt;th&gt;Description&lt;/th&gt;            &lt;/tr&gt;            &lt;tr&gt;                &lt;td&gt;&lt;?php echo $row-&gt;Name; ?&gt;&lt;/td&gt;                &lt;td&gt;&lt;?php echo $row-&gt;Description;?&gt;&lt;/td&gt;            &lt;/tr&gt;
        &lt;/table&gt;&lt;?php     }                        else{            echo "Name Does not exist";        }

}
?&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/topic/241032/rendere-dati-di-una-tabella-mysql-link</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 16:56:41 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/241032.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Apr 2020 15:11:27 GMT</pubDate><ttl>60</ttl></channel></rss>