<?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[Costruire tabella]]></title><description><![CDATA[<p dir="auto">Ciao a tutti sto cercando di costriure 2 tabelle, che dovrei importare nel database.. la prima è questa:<br />
ron_bgprofile<br />
la sua query:</p>
<pre><code class="language-php">$sql = "SELECT id, avlink FROM ron_bgprofile ORDER BY id DESC LIMIT $limit_start, $items_per_page
</code></pre>
<p dir="auto">e la tabella che sto facendo:</p>
<pre><code class="language-php">-- 
-- Table structure for table `ron_bgprofile` 
-- 


CREATE TABLE `ron_bgprofile` ( 
`id` int(10) NOT NULL auto_increment, 
`avlink` varchar(30) NOT NULL default '', 
PRIMARY KEY (`id`), 
UNIQUE KEY `id` (`id`) 
) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=latin1; 


-- 
-- Dumping data for table `ron_bgprofile` 
--
</code></pre>
<p dir="auto">e l'altra tabella è questa:<br />
ron_kar<br />
la sua query:</p>
<pre><code class="language-php">$avlnk = mysql_fetch_array(mysql_query("SELECT itemurl,title FROM ron_kar WHERE id='".$avid."'"));
</code></pre>
<p dir="auto">e la tabella che sto facendo:</p>
<pre><code class="language-php">-- 
-- Table structure for table `ron_kar` 
-- 


CREATE TABLE `ron_kar` ( 
`itemurl` int(10) NOT NULL auto_increment, 
`title` varchar(30) NOT NULL default '', 
PRIMARY KEY (`id`), 
UNIQUE KEY `itemurl` (`itemurl`) 
) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=latin1; 


-- 
-- Dumping data for table `ron_kar` 
--
</code></pre>
<p dir="auto">ma le ambedue tabelle non vanno.. dove sbaglio?</p>
]]></description><link>https://dev.connect.gt/topic/153976/costruire-tabella</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 01:07:34 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/153976.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Jun 2011 09:25:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Costruire tabella on Mon, 27 Jun 2011 18:14:48 GMT]]></title><description><![CDATA[<p dir="auto">Prego di niente <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
]]></description><link>https://dev.connect.gt/post/1011992</link><guid isPermaLink="true">https://dev.connect.gt/post/1011992</guid><dc:creator><![CDATA[giovandres90]]></dc:creator><pubDate>Mon, 27 Jun 2011 18:14:48 GMT</pubDate></item><item><title><![CDATA[Reply to Costruire tabella on Mon, 27 Jun 2011 18:13:27 GMT]]></title><description><![CDATA[<p dir="auto">a ecco.. grazie giova:)</p>
]]></description><link>https://dev.connect.gt/post/1011993</link><guid isPermaLink="true">https://dev.connect.gt/post/1011993</guid><dc:creator><![CDATA[leviathan73]]></dc:creator><pubDate>Mon, 27 Jun 2011 18:13:27 GMT</pubDate></item><item><title><![CDATA[Reply to Costruire tabella on Mon, 27 Jun 2011 17:44:41 GMT]]></title><description><![CDATA[<p dir="auto">Ciao ho provato a fare la prima tabella e non ha errori, la seconda hai sbagliato "PRIMARY KEY (<code>id</code>)" al posto di "id" devi mettere "itemurl"</p>
]]></description><link>https://dev.connect.gt/post/1011991</link><guid isPermaLink="true">https://dev.connect.gt/post/1011991</guid><dc:creator><![CDATA[giovandres90]]></dc:creator><pubDate>Mon, 27 Jun 2011 17:44:41 GMT</pubDate></item></channel></rss>