Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to exclude a certain name out of my table
    primarykey
    data
    text
    <p>I am running a gameserver and for my gameserver I made a table that shows up your items. The table cleared it up, but the problem is that there is a item called "GMP" is spamming the list because people got it verry much.</p> <p>What I want to do is excluding the item "GMP" out of that whole table but I couldn't get it out of the table.</p> <p><a href="http://puu.sh/nefH" rel="nofollow">http://puu.sh/nefH</a> . This is how it looks like. Here is the part of the source code to let it show this.</p> <pre><code>print &lt;&lt;&lt;END &lt;br&gt; &lt;table border="1"&gt; &lt;tr&gt; &lt;th&gt;Item&lt;/th&gt; &lt;th&gt;+&lt;/th&gt; &lt;th&gt;Damage -&lt;/th&gt; &lt;th&gt;Extra hp&lt;/th&gt; &lt;th&gt;Position&lt;/th&gt; &lt;/tr&gt; END; $sql6 = "SELECT t.name, i.position, p.position, i.type, i.magic3, i.reduce_dmg, i.add_life FROM cq_item i, position p, cq_itemtype t WHERE t.id = i.type AND p.id = i.position AND player_id = $id2 ORDER BY name ASC"; $execute6 = mysql_query($sql6); while ($exibir6 = mysql_fetch_array($execute6)){; print "&lt;tr&gt;"; print "&lt;td&gt;".$exibir6 ['name']."&lt;/td&gt;"; print "&lt;td&gt;".$exibir6 ['magic3']."&lt;/td&gt;"; print "&lt;td&gt;".$exibir6 ['reduce_dmg']."&lt;/td&gt;"; print "&lt;td&gt;".$exibir6 ['add_life']."&lt;/td&gt;"; print "&lt;td&gt;".$exibir6 ['position']."&lt;/td&gt;"; print "&lt;/tr&gt;"; } print &lt;&lt;&lt;END2 &lt;/table&gt; END2; </code></pre> <p>If there is something else needed just tell me and I will add it to here.</p> <p>Sorry for my English it isn't my native language.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload