<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[First Strike Forums — PHP help]]></title>
		<link>https://forums.fsmod.com/viewtopic.php?id=3549</link>
		<atom:link href="https://forums.fsmod.com/extern.php?action=feed&amp;tid=3549&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in PHP help.]]></description>
		<lastBuildDate>Tue, 09 Jan 2007 14:39:24 +0000</lastBuildDate>
		<generator>PunBB 1.4.5</generator>
		<item>
			<title><![CDATA[Re: PHP help]]></title>
			<link>https://forums.fsmod.com/viewtopic.php?pid=49506#p49506</link>
			<description><![CDATA[<p>I did and I really have no idea as to what your doing, this is Star Wars site you have problems Markus with php go to <a href="http://www.phpfreaks.com">www.phpfreaks.com</a></p><p>and btw I DONT HAVE THE TIME.</p>]]></description>
			<author><![CDATA[null@example.com (FSDev| xEROhOUR)]]></author>
			<pubDate>Tue, 09 Jan 2007 14:39:24 +0000</pubDate>
			<guid>https://forums.fsmod.com/viewtopic.php?pid=49506#p49506</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP help]]></title>
			<link>https://forums.fsmod.com/viewtopic.php?pid=49468#p49468</link>
			<description><![CDATA[<p>who mad the site again? so i can ask him personaly (pm <img src="https://forums.fsmod.com/img/smilies/tongue.png" width="15" height="15" alt="tongue" /> )</p>]]></description>
			<author><![CDATA[null@example.com (Markus)]]></author>
			<pubDate>Tue, 09 Jan 2007 10:32:10 +0000</pubDate>
			<guid>https://forums.fsmod.com/viewtopic.php?pid=49468#p49468</guid>
		</item>
		<item>
			<title><![CDATA[PHP help]]></title>
			<link>https://forums.fsmod.com/viewtopic.php?pid=49352#p49352</link>
			<description><![CDATA[<p>i realy suck at coding in php, so please dont used to many PHP terms, cuase i probebly wont understand what your trying to tell me.</p><p>I&#039;m making a little database with php and mysql. I&#039;m trying to check the input given from $post to make sure it doesnt excists in the DB yet. it should also check if its empty.</p><div class="codebox"><pre><code>function insert_form2() 
    { 
        $HSoort = $_POST[&quot;HSoort&quot;]; 

        $query = &quot;SELECT HSoort FROM hulpsoort WHERE HSoort =&#039;$HSoort&#039;&quot;; 
           $res = mysql_query ($query); 

           if (mysql_num_rows ($res) &gt;= 1) 
          { 
              echo (&quot;&lt;center&gt;&lt;font color=&#039;red&#039;&gt;&lt;Je Catergotie bestaat al! Kies a.u.b. een andere.&lt;/font&gt;&lt;br&gt;&lt;br&gt;&lt;/center&gt;&quot;; 
          } 

        if (empty($HSoort)) 
        { 
            echo (&quot;&lt;center&gt;&lt;font color=&#039;red&#039;&gt;&lt;br&gt;U heeft de nieuwe Catergorie geen naam gegeven.&lt;/font&gt;&lt;br&gt;&lt;br&gt;&lt;/center&gt;&quot;); 
     
        } 

$query = &quot;INSERT INTO hulpsoort( 
                HSoort 
            )  
             
            VALUES( 

                &#039;$_POST[HSoort&#039; 
            )&quot;; 
            mysql_query($query); 
             
            echo (&quot;  
             
            &lt;center&gt;&lt;font color=&#039;red&#039;&gt;&lt;b&gt;Ingevoerd.&lt;b&gt;&lt;/font&gt;&lt;br&gt;     
            &lt;a href=\&quot;./index.php\&quot; target=\&quot;_self\&quot;&gt;Terug&lt;/a&gt; 
    &quot;); 

    }</code></pre></div><p>i got asfar as this, but now i have no idea what going wrong.<br />dont worry about sql injection, cause only 3 people will use it, no acces from outside work</p>]]></description>
			<author><![CDATA[null@example.com (Markus)]]></author>
			<pubDate>Mon, 08 Jan 2007 14:46:31 +0000</pubDate>
			<guid>https://forums.fsmod.com/viewtopic.php?pid=49352#p49352</guid>
		</item>
	</channel>
</rss>
