<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[First Strike Forums — PHP help]]></title>
	<link rel="self" href="https://forums.fsmod.com/extern.php?action=feed&amp;tid=3549&amp;type=atom" />
	<updated>2007-01-09T14:39:24Z</updated>
	<generator version="1.4.5">PunBB</generator>
	<id>https://forums.fsmod.com/viewtopic.php?id=3549</id>
		<entry>
			<title type="html"><![CDATA[Re: PHP help]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=49506#p49506" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[FSDev| xEROhOUR]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=2</uri>
			</author>
			<updated>2007-01-09T14:39:24Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=49506#p49506</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PHP help]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=49468#p49468" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Markus]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=35</uri>
			</author>
			<updated>2007-01-09T10:32:10Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=49468#p49468</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[PHP help]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=49352#p49352" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Markus]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=35</uri>
			</author>
			<updated>2007-01-08T14:46:31Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=49352#p49352</id>
		</entry>
</feed>
