<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>CodeCall Programming Forum</title>
		<link>http://forum.codecall.net</link>
		<description>Community for Programmers and Developers with experts in C++, C#, Visual Basic, Java, Javascript, CGI, HTML and More!</description>
		<language>en</language>
		<lastBuildDate>Sun, 03 Jan 2010 21:14:28 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forum.codecall.net/images/misc/rss.jpg</url>
			<title>CodeCall Programming Forum</title>
			<link>http://forum.codecall.net</link>
		</image>
		<item>
			<title>MySQL vs SQL</title>
			<link>http://forum.codecall.net/database-database-programming/23990-mysql-vs-sql.html</link>
			<pubDate>Sun, 03 Jan 2010 19:19:33 GMT</pubDate>
			<description><![CDATA[I apologize for asking what to many is obvious, so obvious that it really isn't a question at all, and shouldn't be asked!

Well here goes.

Why do so many prefer MySQL over MS SQL server? Looking at the ads for server hosting, they all seem to use MySQL.

Why? Is it for costs? Reliability? Ease of use?
Is it because everybody does? Because MySQL is not Microsoft?

Enquiring minds want to know!

Hills]]></description>
			<content:encoded><![CDATA[<div>I apologize for asking what to many is obvious, so obvious that it really isn't a question at all, and shouldn't be asked!<br />
<br />
Well here goes.<br />
<br />
Why do so many prefer MySQL over MS SQL server? Looking at the ads for server hosting, they all seem to use MySQL.<br />
<br />
Why? Is it for costs? Reliability? Ease of use?<br />
Is it because everybody does? Because MySQL is not Microsoft?<br />
<br />
Enquiring minds want to know!<br />
<br />
Hills</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/database-database-programming/"><![CDATA[Database & Database Programming]]></category>
			<dc:creator>Hilary</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/database-database-programming/23990-mysql-vs-sql.html</guid>
		</item>
		<item>
			<title>Multiple Interface Inheritance</title>
			<link>http://forum.codecall.net/c-c/23987-multiple-interface-inheritance.html</link>
			<pubDate>Sun, 03 Jan 2010 18:07:39 GMT</pubDate>
			<description><![CDATA[I'm having a hard time wrapping my brain around this....

I have 3 Interfaces:

Code:
---------

class CTool
{
public:
     virtual UI_TOOL GetUI_T_ID() = 0;
     virtual HRESULT Activate() = 0;
     virtual HRESULT Execute(SMouseStroke*) = 0;
     virtual HRESULT Park() = 0;

     virtual void SetToolDeactivate(bool) = 0;
     virtual bool isToolDeactivate() = 0;

private:
     CTool& operator=(const CTool&);
};

class CEntity
{
public:
     CEntity(){}

     virtual ENTITY GetEntityID() = 0;

     virtual bool isActive() = 0;
     virtual void SetActive(bool) = 0;

     virtual void SetWorldMatrix(D3DXMATRIX) = 0;
     virtual D3DXMATRIX GetWorldMatrix() = 0;

private:
     CEntity& operator=(const CEntity&);

};

class CEntity3D
{
public:
     CEntity3D(){}

     virtual void SetObjectFile(string) = 0;

     virtual void GetObject() = 0;
     virtual vector<SBasicModel>* GetModel() = 0;

     virtual void SetVisible(bool) = 0;
     virtual bool isVisible() = 0;

     virtual void SetScenePurged(bool) = 0;
     virtual bool isScenePurged() = 0;

private:
     CEntity3D& operator=(const CEntity3D&);

};
---------
and I have one object I wish to implement all three:


Code:
---------

class CToolMoveGeometry : public CTool, public CEntity, public CEntity3D
{
private:
     UI_TOOL UI_T_ID;

     void SetLBDownPrior(){lb_down_prior ? lb_down_prior = false : lb_down_prior = true;};
     bool GetLBDownPrior(){return lb_down_prior;};

     void SetRBDownPrior(){rb_down_prior ? rb_down_prior = false : rb_down_prior = true;};
     bool GetRBDownPrior(){return rb_down_prior;};

     static bool lb_down_prior;
     static bool rb_down_prior;

public:
     CToolMoveGeometry() : UI_T_ID(TOOL_MOVE_GEOMETRY)
     {
          id = E_UI_TOOL;

          E_Name = "UIToolMoveGeometry";
          object_file = "C:/Projects/Naomies Moon/Assets/TranslationXY.NMM"; 

          is_active = true;
          is_visible = true;
          is_scene_purged = false;

          D3DXMatrixIdentity(&E_World);

          GetObject();
          E_Body = E_Object.GetPtrBasicModel();
          is_d3d_buffered = true;
     }

     virtual UI_TOOL GetUI_T_ID(){return UI_T_ID;};
     virtual HRESULT Activate();
     virtual HRESULT Execute(SMouseStroke*);
     virtual HRESULT Park();

     deque<SDrawCommand> vDrawCommands;

     vector<SEditModel>* vClay;

private:
     virtual void SetToolDeactivate(bool set){tool_deactivate = set;};
     virtual bool isToolDeactivate(){return tool_deactivate;};
     bool tool_deactivate;

private:
     StateOfBeing MGT_State_Report;
     CStateReport* MGT_Report;
     CMsg_Box* MGT_Msgs;

private:
     ENTITY id;

public:
     virtual ENTITY GetEntityID(){return id;};

     virtual bool isActive(){return is_active;};
     virtual void SetActive(bool activate){is_active = activate;};

     virtual void SetWorldMatrix(D3DXMATRIX world){E_World = world;};
     virtual D3DXMATRIX GetWorldMatrix(){return E_World;};

     virtual void SetObjectFile(string file){object_file = file;};

     virtual void GetObject(){E_Object.Instatiate(object_file);};
     virtual vector<SBasicModel>* GetModel(){return E_Body;};
     virtual bool isD3DBuffered(){return is_d3d_buffered;};

     virtual void SetVisible(bool visible){is_visible = visible;};
     virtual bool isVisible(){return is_visible;};

     virtual void SetScenePurged(bool purge){is_scene_purged = purge;};
     virtual bool isScenePurged(){return is_scene_purged;};

private:
     string E_Name;

     bool is_active;
     bool is_visible;
     bool is_scene_purged;

     D3DXMATRIX E_World;

     C3DLocker E_Object;
     string object_file;
     vector<SBasicModel>* E_Body;
     bool is_d3d_buffered;
};
---------
Now when I was using one I saw the beauty in this as being I could have a great way of indexing through a bunch of tools that had to have the same method signatures with different implementation... yay!

But with three I store as CTool* and cast to CEntity3D* and it's like *cough* can't do that?????

[me] shakes fist [/me]

eg:

Code:
---------
     CToolMoveGeometry* ptr = reinterpret_cast<CToolMoveGeometry*>(UI.DevTool.GetActiveTool());
     CToolMoveGeometry tool = *ptr;
     CEntity3D* ptr2 = reinterpret_cast<CEntity3D*>(&tool);
     vector<SBasicModel>* model = ptr2->GetModel();
     vWorld = *(ptr->GetModel());
---------
note that I even dereferenced to implementing class and then rereferenced it as CEntity3D!

This still works great though:

Code:
---------
     CToolMoveGeometry* ptr = reinterpret_cast<CToolMoveGeometry*>(UI.DevTool.GetActiveTool());
     vWorld = *(ptr->GetModel());
---------
Seems now like I'm just writing extra code???]]></description>
			<content:encoded><![CDATA[<div>I'm having a hard time wrapping my brain around this....<br />
<br />
I have 3 Interfaces:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
class CTool<br />
{<br />
public:<br />
&nbsp; &nbsp;  virtual UI_TOOL GetUI_T_ID() = 0;<br />
&nbsp; &nbsp;  virtual HRESULT Activate() = 0;<br />
&nbsp; &nbsp;  virtual HRESULT Execute(SMouseStroke*) = 0;<br />
&nbsp; &nbsp;  virtual HRESULT Park() = 0;<br />
<br />
&nbsp; &nbsp;  virtual void SetToolDeactivate(bool) = 0;<br />
&nbsp; &nbsp;  virtual bool isToolDeactivate() = 0;<br />
<br />
private:<br />
&nbsp; &nbsp;  CTool&amp; operator=(const CTool&amp;);<br />
};<br />
<br />
class CEntity<br />
{<br />
public:<br />
&nbsp; &nbsp;  CEntity(){}<br />
<br />
&nbsp; &nbsp;  virtual ENTITY GetEntityID() = 0;<br />
<br />
&nbsp; &nbsp;  virtual bool isActive() = 0;<br />
&nbsp; &nbsp;  virtual void SetActive(bool) = 0;<br />
<br />
&nbsp; &nbsp;  virtual void SetWorldMatrix(D3DXMATRIX) = 0;<br />
&nbsp; &nbsp;  virtual D3DXMATRIX GetWorldMatrix() = 0;<br />
<br />
private:<br />
&nbsp; &nbsp;  CEntity&amp; operator=(const CEntity&amp;);<br />
<br />
};<br />
<br />
class CEntity3D<br />
{<br />
public:<br />
&nbsp; &nbsp;  CEntity3D(){}<br />
<br />
&nbsp; &nbsp;  virtual void SetObjectFile(string) = 0;<br />
<br />
&nbsp; &nbsp;  virtual void GetObject() = 0;<br />
&nbsp; &nbsp;  virtual vector&lt;SBasicModel&gt;* GetModel() = 0;<br />
<br />
&nbsp; &nbsp;  virtual void SetVisible(bool) = 0;<br />
&nbsp; &nbsp;  virtual bool isVisible() = 0;<br />
<br />
&nbsp; &nbsp;  virtual void SetScenePurged(bool) = 0;<br />
&nbsp; &nbsp;  virtual bool isScenePurged() = 0;<br />
<br />
private:<br />
&nbsp; &nbsp;  CEntity3D&amp; operator=(const CEntity3D&amp;);<br />
<br />
};</code><hr />
</div>and I have one object I wish to implement all three:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
class CToolMoveGeometry : public CTool, public CEntity, public CEntity3D<br />
{<br />
private:<br />
&nbsp; &nbsp;  UI_TOOL UI_T_ID;<br />
<br />
&nbsp; &nbsp;  void SetLBDownPrior(){lb_down_prior ? lb_down_prior = false : lb_down_prior = true;};<br />
&nbsp; &nbsp;  bool GetLBDownPrior(){return lb_down_prior;};<br />
<br />
&nbsp; &nbsp;  void SetRBDownPrior(){rb_down_prior ? rb_down_prior = false : rb_down_prior = true;};<br />
&nbsp; &nbsp;  bool GetRBDownPrior(){return rb_down_prior;};<br />
<br />
&nbsp; &nbsp;  static bool lb_down_prior;<br />
&nbsp; &nbsp;  static bool rb_down_prior;<br />
<br />
public:<br />
&nbsp; &nbsp;  CToolMoveGeometry() : UI_T_ID(TOOL_MOVE_GEOMETRY)<br />
&nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id = E_UI_TOOL;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E_Name = &quot;UIToolMoveGeometry&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; object_file = &quot;C:/Projects/Naomies Moon/Assets/TranslationXY.NMM&quot;; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; is_active = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; is_visible = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; is_scene_purged = false;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; D3DXMatrixIdentity(&amp;E_World);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetObject();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E_Body = E_Object.GetPtrBasicModel();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; is_d3d_buffered = true;<br />
&nbsp; &nbsp;  }<br />
<br />
&nbsp; &nbsp;  virtual UI_TOOL GetUI_T_ID(){return UI_T_ID;};<br />
&nbsp; &nbsp;  virtual HRESULT Activate();<br />
&nbsp; &nbsp;  virtual HRESULT Execute(SMouseStroke*);<br />
&nbsp; &nbsp;  virtual HRESULT Park();<br />
<br />
&nbsp; &nbsp;  deque&lt;SDrawCommand&gt; vDrawCommands;<br />
<br />
&nbsp; &nbsp;  vector&lt;SEditModel&gt;* vClay;<br />
<br />
private:<br />
&nbsp; &nbsp;  virtual void SetToolDeactivate(bool set){tool_deactivate = set;};<br />
&nbsp; &nbsp;  virtual bool isToolDeactivate(){return tool_deactivate;};<br />
&nbsp; &nbsp;  bool tool_deactivate;<br />
<br />
private:<br />
&nbsp; &nbsp;  StateOfBeing MGT_State_Report;<br />
&nbsp; &nbsp;  CStateReport* MGT_Report;<br />
&nbsp; &nbsp;  CMsg_Box* MGT_Msgs;<br />
<br />
private:<br />
&nbsp; &nbsp;  ENTITY id;<br />
<br />
public:<br />
&nbsp; &nbsp;  virtual ENTITY GetEntityID(){return id;};<br />
<br />
&nbsp; &nbsp;  virtual bool isActive(){return is_active;};<br />
&nbsp; &nbsp;  virtual void SetActive(bool activate){is_active = activate;};<br />
<br />
&nbsp; &nbsp;  virtual void SetWorldMatrix(D3DXMATRIX world){E_World = world;};<br />
&nbsp; &nbsp;  virtual D3DXMATRIX GetWorldMatrix(){return E_World;};<br />
<br />
&nbsp; &nbsp;  virtual void SetObjectFile(string file){object_file = file;};<br />
<br />
&nbsp; &nbsp;  virtual void GetObject(){E_Object.Instatiate(object_file);};<br />
&nbsp; &nbsp;  virtual vector&lt;SBasicModel&gt;* GetModel(){return E_Body;};<br />
&nbsp; &nbsp;  virtual bool isD3DBuffered(){return is_d3d_buffered;};<br />
<br />
&nbsp; &nbsp;  virtual void SetVisible(bool visible){is_visible = visible;};<br />
&nbsp; &nbsp;  virtual bool isVisible(){return is_visible;};<br />
<br />
&nbsp; &nbsp;  virtual void SetScenePurged(bool purge){is_scene_purged = purge;};<br />
&nbsp; &nbsp;  virtual bool isScenePurged(){return is_scene_purged;};<br />
<br />
private:<br />
&nbsp; &nbsp;  string E_Name;<br />
<br />
&nbsp; &nbsp;  bool is_active;<br />
&nbsp; &nbsp;  bool is_visible;<br />
&nbsp; &nbsp;  bool is_scene_purged;<br />
<br />
&nbsp; &nbsp;  D3DXMATRIX E_World;<br />
<br />
&nbsp; &nbsp;  C3DLocker E_Object;<br />
&nbsp; &nbsp;  string object_file;<br />
&nbsp; &nbsp;  vector&lt;SBasicModel&gt;* E_Body;<br />
&nbsp; &nbsp;  bool is_d3d_buffered;<br />
};</code><hr />
</div>Now when I was using one I saw the beauty in this as being I could have a great way of indexing through a bunch of tools that had to have the same method signatures with different implementation... yay!<br />
<br />
But with three I store as CTool* and cast to CEntity3D* and it's like *cough* can't do that?????<br />
<br />
[me] shakes fist [/me]<br />
<br />
eg:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp;  CToolMoveGeometry* ptr = reinterpret_cast&lt;CToolMoveGeometry*&gt;(UI.DevTool.GetActiveTool());<br />
&nbsp; &nbsp;  CToolMoveGeometry tool = *ptr;<br />
&nbsp; &nbsp;  CEntity3D* ptr2 = reinterpret_cast&lt;CEntity3D*&gt;(&amp;tool);<br />
&nbsp; &nbsp;  vector&lt;SBasicModel&gt;* model = ptr2-&gt;GetModel();<br />
&nbsp; &nbsp;  vWorld = *(ptr-&gt;GetModel());</code><hr />
</div>note that I even dereferenced to implementing class and then rereferenced it as CEntity3D!<br />
<br />
This still works great though:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp;  CToolMoveGeometry* ptr = reinterpret_cast&lt;CToolMoveGeometry*&gt;(UI.DevTool.GetActiveTool());<br />
&nbsp; &nbsp;  vWorld = *(ptr-&gt;GetModel());</code><hr />
</div>Seems now like I'm just writing extra code???</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/c-c/">C and C++</category>
			<dc:creator>Buttacup</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/c-c/23987-multiple-interface-inheritance.html</guid>
		</item>
		<item>
			<title>Finding Expert in J2ME and PBASIC (Urgent)</title>
			<link>http://forum.codecall.net/java-help/23986-finding-expert-j2me-pbasic-urgent.html</link>
			<pubDate>Sun, 03 Jan 2010 17:55:30 GMT</pubDate>
			<description><![CDATA[the scenario is as follows: 
- the fall of an elderly needs to be known to the caregiver, and the caregiver needs to reset the bluetooth mod to stop it from transmitting the signal by sending a sms to the elderly mobile, then the elderly mobile will auto send a bluetooth signal to the microchip that is connected to the bluetooth mod to stop it. 

- bluetooth mod needs to get activated upon some detection, it will send a bluetooth signal to the 1st mobile phone(elderly's) 
- upon receiving the bluetooth signal, the elderly's mobile will then send a sms to the caregiver's mobile to notify 
- the caregiver will send back a sms to the elderly mobile to "reset the system" 
- there will be other additional functions as well 

BTManager code: in elderly's mobile 
sendapproval code: in caregiver mobile 

bluetooth module <------serial comm.-----> elderly mobile <---sms----> caregiver mobile 

currently do not have the pbasic code. both are not completed and serial communication is not done yet. 
i am using netbeans for my j2me codes. the BTManager code is the one that is suppose to communicate with the bluetooth module.

Need someone to help complete the program. Deadline: 5 Days from Today(4th Jan 2010)]]></description>
			<content:encoded><![CDATA[<div>the scenario is as follows: <br />
- the fall of an elderly needs to be known to the caregiver, and the caregiver needs to reset the bluetooth mod to stop it from transmitting the signal by sending a sms to the elderly mobile, then the elderly mobile will auto send a bluetooth signal to the microchip that is connected to the bluetooth mod to stop it. <br />
<br />
- bluetooth mod needs to get activated upon some detection, it will send a bluetooth signal to the 1st mobile phone(elderly's) <br />
- upon receiving the bluetooth signal, the elderly's mobile will then send a sms to the caregiver's mobile to notify <br />
- the caregiver will send back a sms to the elderly mobile to &quot;reset the system&quot; <br />
- there will be other additional functions as well <br />
<br />
BTManager code: in elderly's mobile <br />
sendapproval code: in caregiver mobile <br />
<br />
bluetooth module &lt;------serial comm.-----&gt; elderly mobile &lt;---sms----&gt; caregiver mobile <br />
<br />
currently do not have the pbasic code. both are not completed and serial communication is not done yet. <br />
i am using netbeans for my j2me codes. the BTManager code is the one that is suppose to communicate with the bluetooth module.<br />
<br />
Need someone to help complete the program. Deadline: 5 Days from Today(4th Jan 2010)</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/java-help/">Java Help</category>
			<dc:creator>firearth</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/java-help/23986-finding-expert-j2me-pbasic-urgent.html</guid>
		</item>
		<item>
			<title>Problem adding a record</title>
			<link>http://forum.codecall.net/visual-basic-programming/23984-problem-adding-record.html</link>
			<pubDate>Sun, 03 Jan 2010 15:33:58 GMT</pubDate>
			<description><![CDATA[I'm writing a function to add a new record to my table "ServiceCenters" from my access database

but I have encountered a problem which I can't seem to find on my own (I'm pretty sure it's something stupid, but if I don't see it...)


Code:
---------
    
Public Sub VoegToe(ByVal tmpServiceCenter As bsServiceCenter)
        Try
            Dim cb As New OleDbCommandBuilder(da)
            cb.QuotePrefix = "["
            cb.QuoteSuffix = "]"
            Dim drv As DataRowView = dvServiceCenters.AddNew

            drv.BeginEdit()

            With tmpServiceCenter
                drv("SCenterId") = .SCenterId
                drv("Adres") = .Adres
                drv("Postcode") = .Postcode
                drv("TelefoonNr") = .TelefoonNr
                drv("Werknemers") = .AantalWerknemers
            End With

            drv.EndEdit()

            da.Update(dsAutomaatVerhuur, "ServiceCenters")

            dsAutomaatVerhuur.Tables("ServiceCenters").Clear()

            da.Fill(dsAutomaatVerhuur, "ServiceCenters")
        Catch ex As Exception
            dsAutomaatVerhuur.Tables("ServiceCenters").Clear()
            da.Fill(dsAutomaatVerhuur, "ServiceCenters")
            Throw New System.Exception("dbServiceCenter - Sub VoegToe" & vbCrLf & ex.Message)
        End Try
    End Sub
---------
most things are declared and initialised in my module

Code:
---------
Module modAutomaatVerhuur
    Public dsAutomaatVerhuur As New DataSet
    Public cnAutomaatVerhuur As OleDbConnection
    Public da As OleDbDataAdapter
    Public frmServiceCentersMogelijk As Boolean = True
    Public frmAutomaatMogelijk As Boolean = True
    Public frmAutomaatHuurderMogelijk As Boolean = True

    Public Sub InitDatabase()
        Dim sDataBaseLocation As String = "C:\Users\Tim\Desktop\Examen ADO\Database.accdb"

        cnAutomaatVerhuur = New OleDbConnection
        cnAutomaatVerhuur.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" & sDataBaseLocation
        VulAutomaten()
        VulServiceCenters()
        VulAutomaatHuurders()
    End Sub
    Public Sub VulAutomaten()
        Dim cm As New OleDbCommand("SELECT * FROM Automaten", cnAutomaatVerhuur)
        da = New OleDbDataAdapter(cm)
        da.Fill(dsAutomaatVerhuur, "Automaten")
    End Sub
    Public Sub VulServiceCenters()
        Dim cm As New OleDbCommand("SELECT * FROM ServiceCenters", cnAutomaatVerhuur)
        da = New OleDbDataAdapter(cm)
        da.Fill(dsAutomaatVerhuur, "ServiceCenters")
    End Sub
    Public Sub VulAutomaatHuurders()
        Dim cm As New OleDbCommand("SELECT * FROM AutomaatHuurders", cnAutomaatVerhuur)
        da = New OleDbDataAdapter(cm)
        da.Fill(dsAutomaatVerhuur, "AutomaatHuurders")
    End Sub
End Module
---------
the error I get is:


---Quote---
missing the DataColumn 'ServiceCenter' in the DataTable 'ServiceCenters' for the SourceColumn 'ServiceCenter'
---End Quote---

and my db looks like this:

Code:
---------
ServiceCenters
----------------
SCenterId
Adres
Postcode
TelefoonNr
Werknemers
---------
]]></description>
			<content:encoded><![CDATA[<div>I'm writing a function to add a new record to my table &quot;ServiceCenters&quot; from my access database<br />
<br />
but I have encountered a problem which I can't seem to find on my own (I'm pretty sure it's something stupid, but if I don't see it...)<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; <br />
Public Sub VoegToe(ByVal tmpServiceCenter As bsServiceCenter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Try<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cb As New OleDbCommandBuilder(da)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cb.QuotePrefix = &quot;[&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cb.QuoteSuffix = &quot;]&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim drv As DataRowView = dvServiceCenters.AddNew<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; drv.BeginEdit()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; With tmpServiceCenter<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; drv(&quot;SCenterId&quot;) = .SCenterId<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; drv(&quot;Adres&quot;) = .Adres<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; drv(&quot;Postcode&quot;) = .Postcode<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; drv(&quot;TelefoonNr&quot;) = .TelefoonNr<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; drv(&quot;Werknemers&quot;) = .AantalWerknemers<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End With<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; drv.EndEdit()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; da.Update(dsAutomaatVerhuur, &quot;ServiceCenters&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dsAutomaatVerhuur.Tables(&quot;ServiceCenters&quot;).Clear()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; da.Fill(dsAutomaatVerhuur, &quot;ServiceCenters&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Catch ex As Exception<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dsAutomaatVerhuur.Tables(&quot;ServiceCenters&quot;).Clear()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; da.Fill(dsAutomaatVerhuur, &quot;ServiceCenters&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Throw New System.Exception(&quot;dbServiceCenter - Sub VoegToe&quot; &amp; vbCrLf &amp; ex.Message)<br />
&nbsp; &nbsp; &nbsp; &nbsp; End Try<br />
&nbsp; &nbsp; End Sub</code><hr />
</div>most things are declared and initialised in my module<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Module modAutomaatVerhuur<br />
&nbsp; &nbsp; Public dsAutomaatVerhuur As New DataSet<br />
&nbsp; &nbsp; Public cnAutomaatVerhuur As OleDbConnection<br />
&nbsp; &nbsp; Public da As OleDbDataAdapter<br />
&nbsp; &nbsp; Public frmServiceCentersMogelijk As Boolean = True<br />
&nbsp; &nbsp; Public frmAutomaatMogelijk As Boolean = True<br />
&nbsp; &nbsp; Public frmAutomaatHuurderMogelijk As Boolean = True<br />
<br />
&nbsp; &nbsp; Public Sub InitDatabase()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim sDataBaseLocation As String = &quot;C:\Users\Tim\Desktop\Examen ADO\Database.accdb&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; cnAutomaatVerhuur = New OleDbConnection<br />
&nbsp; &nbsp; &nbsp; &nbsp; cnAutomaatVerhuur.ConnectionString = &quot;Provider=Microsoft.ACE.OLEDB.12.0; Data Source=&quot; &amp; sDataBaseLocation<br />
&nbsp; &nbsp; &nbsp; &nbsp; VulAutomaten()<br />
&nbsp; &nbsp; &nbsp; &nbsp; VulServiceCenters()<br />
&nbsp; &nbsp; &nbsp; &nbsp; VulAutomaatHuurders()<br />
&nbsp; &nbsp; End Sub<br />
&nbsp; &nbsp; Public Sub VulAutomaten()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cm As New OleDbCommand(&quot;SELECT * FROM Automaten&quot;, cnAutomaatVerhuur)<br />
&nbsp; &nbsp; &nbsp; &nbsp; da = New OleDbDataAdapter(cm)<br />
&nbsp; &nbsp; &nbsp; &nbsp; da.Fill(dsAutomaatVerhuur, &quot;Automaten&quot;)<br />
&nbsp; &nbsp; End Sub<br />
&nbsp; &nbsp; Public Sub VulServiceCenters()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cm As New OleDbCommand(&quot;SELECT * FROM ServiceCenters&quot;, cnAutomaatVerhuur)<br />
&nbsp; &nbsp; &nbsp; &nbsp; da = New OleDbDataAdapter(cm)<br />
&nbsp; &nbsp; &nbsp; &nbsp; da.Fill(dsAutomaatVerhuur, &quot;ServiceCenters&quot;)<br />
&nbsp; &nbsp; End Sub<br />
&nbsp; &nbsp; Public Sub VulAutomaatHuurders()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cm As New OleDbCommand(&quot;SELECT * FROM AutomaatHuurders&quot;, cnAutomaatVerhuur)<br />
&nbsp; &nbsp; &nbsp; &nbsp; da = New OleDbDataAdapter(cm)<br />
&nbsp; &nbsp; &nbsp; &nbsp; da.Fill(dsAutomaatVerhuur, &quot;AutomaatHuurders&quot;)<br />
&nbsp; &nbsp; End Sub<br />
End Module</code><hr />
</div>the error I get is:<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				missing the DataColumn 'ServiceCenter' in the DataTable 'ServiceCenters' for the SourceColumn 'ServiceCenter'
			
			<hr />
		</td>
	</tr>
	</table>
</div><br />
and my db looks like this:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">ServiceCenters<br />
----------------<br />
SCenterId<br />
Adres<br />
Postcode<br />
TelefoonNr<br />
Werknemers</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/visual-basic-programming/">Visual Basic Programming</category>
			<dc:creator>Shaddix</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/visual-basic-programming/23984-problem-adding-record.html</guid>
		</item>
		<item>
			<title>Delete all photos on a machine</title>
			<link>http://forum.codecall.net/general-programming/23983-delete-all-photos-machine.html</link>
			<pubDate>Sun, 03 Jan 2010 15:17:24 GMT</pubDate>
			<description>I need to delete some pictures of a friends sisters computer so I wrote a batch file that should delete all files that are .jpg and .jpeg. 

The program is:

del /s /q /f C:\Users\*.jpg
del /s /q /f C:\Users\*.jpeg

will this work?</description>
			<content:encoded><![CDATA[<div>I need to delete some pictures of a friends sisters computer so I wrote a batch file that should delete all files that are .jpg and .jpeg. <br />
<br />
The program is:<br />
<br />
del /s /q /f C:\Users\*.jpg<br />
del /s /q /f C:\Users\*.jpeg<br />
<br />
will this work?</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/general-programming/">General Programming</category>
			<dc:creator>CtownNightrider</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/general-programming/23983-delete-all-photos-machine.html</guid>
		</item>
		<item>
			<title><![CDATA[Sharing Data: Mac OS X <-> Windows]]></title>
			<link>http://forum.codecall.net/mac-os-x/23981-sharing-data-mac-os-x-windows.html</link>
			<pubDate>Sun, 03 Jan 2010 08:27:11 GMT</pubDate>
			<description><![CDATA[Hello,

I'm new to Macs and I need a little help :(

I've transferred some files from my Windows OS computer to an external HDD. When I attach the external HDD to a Mac laptop, I only have the permission to READ, that is, I can't transfer data from the Mac to the exHDD and this really needs to be done :(

The Mac detects that the disk was formatted with a Windows file system. 

How can solve my problem? I've look around the net and couldn't find the solution. Tried logging in as the super-user, but it didn't help either.

Thanks in advance,
Emir]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I'm new to Macs and I need a little help :(<br />
<br />
I've transferred some files from my Windows OS computer to an external HDD. When I attach the external HDD to a Mac laptop, I only have the permission to READ, that is, I can't transfer data from the Mac to the exHDD and this really needs to be done :(<br />
<br />
The Mac detects that the disk was formatted with a Windows file system. <br />
<br />
How can solve my problem? I've look around the net and couldn't find the solution. Tried logging in as the super-user, but it didn't help either.<br />
<br />
Thanks in advance,<br />
Emir</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/mac-os-x/">Mac OS X</category>
			<dc:creator>Emir</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/mac-os-x/23981-sharing-data-mac-os-x-windows.html</guid>
		</item>
		<item>
			<title><![CDATA[How's it going?]]></title>
			<link>http://forum.codecall.net/introductions/23980-how-s-going.html</link>
			<pubDate>Sun, 03 Jan 2010 06:10:50 GMT</pubDate>
			<description><![CDATA[Hey everyone, my name is JewFro, I'm from new york. I joined this forum specifically because I needed something better than yahoo answers to ask questions about learning assembly, but I plan on using the forums as much as I can. This is the first forum I have become a member of.

I know a lot of C++, but no object oriented programming yet. Also some basic HTML, and a long time ago i learned some VB. I'm only 15, but my current goal is to be able to make a demo like the ones on demoscene.tv 

I'm an apple hater, but only because of the company itself being money obsessed and ripping good people off. If they didn't charge so much then maybe I would think differently. I love music, play guitar bass and drums and a tiny bit of piano. I probably sound robotic right now lol but thats just cuz im wicked tired since its 1AM and I need to get some sleep. nite :thumbup:]]></description>
			<content:encoded><![CDATA[<div>Hey everyone, my name is JewFro, I'm from new york. I joined this forum specifically because I needed something better than yahoo answers to ask questions about learning assembly, but I plan on using the forums as much as I can. This is the first forum I have become a member of.<br />
<br />
I know a lot of C++, but no object oriented programming yet. Also some basic HTML, and a long time ago i learned some VB. I'm only 15, but my current goal is to be able to make a demo like the ones on demoscene.tv <br />
<br />
I'm an apple hater, but only because of the company itself being money obsessed and ripping good people off. If they didn't charge so much then maybe I would think differently. I love music, play guitar bass and drums and a tiny bit of piano. I probably sound robotic right now lol but thats just cuz im wicked tired since its 1AM and I need to get some sleep. nite :thumbup:</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/introductions/">Introductions</category>
			<dc:creator>JewFro297</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/introductions/23980-how-s-going.html</guid>
		</item>
		<item>
			<title>General New to assembly programming</title>
			<link>http://forum.codecall.net/assembly/23978-new-assembly-programming.html</link>
			<pubDate>Sun, 03 Jan 2010 05:27:07 GMT</pubDate>
			<description><![CDATA[Hi, I have a basic knowledge of c++ programming and have been reading up a lot on assembly but havn't written a program in it yet. I've mostly been trying to find out where to start for what my purposes are.

This is mostly for learning purposes. I want to create an extremely simple hardware limited 64 bit operating system. Basically something that will boot up, accept some input, and run a demo type program. I would be ok if it had to be 32 bit though, as this is really only for learning.

I have the books PC-Assembly by Paul Carter and programming from the ground up. I prefer the first one because it seems to be more aimed towards being operating system independent. Am I going in the right direction? Anybody have some advice on this? Help will be greatly appreciated.]]></description>
			<content:encoded><![CDATA[<div>Hi, I have a basic knowledge of c++ programming and have been reading up a lot on assembly but havn't written a program in it yet. I've mostly been trying to find out where to start for what my purposes are.<br />
<br />
This is mostly for learning purposes. I want to create an extremely simple hardware limited 64 bit operating system. Basically something that will boot up, accept some input, and run a demo type program. I would be ok if it had to be 32 bit though, as this is really only for learning.<br />
<br />
I have the books PC-Assembly by Paul Carter and programming from the ground up. I prefer the first one because it seems to be more aimed towards being operating system independent. Am I going in the right direction? Anybody have some advice on this? Help will be greatly appreciated.</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/assembly/">Assembly</category>
			<dc:creator>JewFro297</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/assembly/23978-new-assembly-programming.html</guid>
		</item>
		<item>
			<title>Cpanel email script help!</title>
			<link>http://forum.codecall.net/php-forum/23977-cpanel-email-script-help.html</link>
			<pubDate>Sun, 03 Jan 2010 04:44:35 GMT</pubDate>
			<description><![CDATA[I've already developed a cpanel api for this, but I'm in need of some help in this area..
Basically I need to put an if statement inside an else if statement.. with an else to something different if the else if statement is incorrect.

It might sound kinda complicated, but in the time that I've been developing php scripts, this has never been an issue. Help, please?


PHP:
---------
if($_POST['newpass']=="")
{
echo "";
}
else if($_POST['newpass']==$_POST['newpass2'])
{
/* Check if the response is true or false and give an output for each one */
else if($response === false)
{
echo "<center>Email password is invalid!</center>";
}
else
{
echo "<center>New password submitted.</center>";
$xmlapi->api1_query($email.'@'.$emaildomain, "Email", "passwdpop", array($email, $newpass, 0, $cpaneldomain));
/* Then if the post variable newpass doesn't equal newpass2 display this. */
}
else
{
echo "<center>The two new password fields must be the same.</center>";
}
---------
]]></description>
			<content:encoded><![CDATA[<div>I've already developed a cpanel api for this, but I'm in need of some help in this area..<br />
Basically I need to put an if statement inside an else if statement.. with an else to something different if the else if statement is incorrect.<br />
<br />
It might sound kinda complicated, but in the time that I've been developing php scripts, this has never been an issue. Help, please?<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #007700">if(</span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'newpass'</span><span style="color: #007700">&#93;==</span><span style="color: #DD0000">""</span><span style="color: #007700">)<br />{<br />echo&nbsp;</span><span style="color: #DD0000">""</span><span style="color: #007700">;<br />}<br />else&nbsp;if(</span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'newpass'</span><span style="color: #007700">&#93;==</span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'newpass2'</span><span style="color: #007700">&#93;)<br />{<br /></span><span style="color: #FF8000">/*&nbsp;Check&nbsp;if&nbsp;the&nbsp;response&nbsp;is&nbsp;true&nbsp;or&nbsp;false&nbsp;and&nbsp;give&nbsp;an&nbsp;output&nbsp;for&nbsp;each&nbsp;one&nbsp;*/<br /></span><span style="color: #007700">else&nbsp;if(</span><span style="color: #0000BB">$response&nbsp;</span><span style="color: #007700">===&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)<br />{<br />echo&nbsp;</span><span style="color: #DD0000">"&lt;center&gt;Email&nbsp;password&nbsp;is&nbsp;invalid!&lt;/center&gt;"</span><span style="color: #007700">;<br />}<br />else<br />{<br />echo&nbsp;</span><span style="color: #DD0000">"&lt;center&gt;New&nbsp;password&nbsp;submitted.&lt;/center&gt;"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$xmlapi</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">api1_query</span><span style="color: #007700">(</span><span style="color: #0000BB">$email</span><span style="color: #007700">.</span><span style="color: #DD0000">'@'</span><span style="color: #007700">.</span><span style="color: #0000BB">$emaildomain</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Email"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"passwdpop"</span><span style="color: #007700">,&nbsp;array(</span><span style="color: #0000BB">$email</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$newpass</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$cpaneldomain</span><span style="color: #007700">));<br /></span><span style="color: #FF8000">/*&nbsp;Then&nbsp;if&nbsp;the&nbsp;post&nbsp;variable&nbsp;newpass&nbsp;doesn't&nbsp;equal&nbsp;newpass2&nbsp;display&nbsp;this.&nbsp;*/<br /></span><span style="color: #007700">}<br />else<br />{<br />echo&nbsp;</span><span style="color: #DD0000">"&lt;center&gt;The&nbsp;two&nbsp;new&nbsp;password&nbsp;fields&nbsp;must&nbsp;be&nbsp;the&nbsp;same.&lt;/center&gt;"</span><span style="color: #007700">;<br />}&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div></div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/php-forum/">PHP Forum</category>
			<dc:creator>SeanStar</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/php-forum/23977-cpanel-email-script-help.html</guid>
		</item>
		<item>
			<title>How To Make The Sun In PhotShop.</title>
			<link>http://forum.codecall.net/photoshop-tutorials/23976-how-make-sun-photshop.html</link>
			<pubDate>Sun, 03 Jan 2010 03:35:23 GMT</pubDate>
			<description><![CDATA[Hello every one this is my first PhotoShop tutorial in which I'm going to show you how to make the sun.:)

OK make a new picture of whatever size you want.(I used 500 x 500)

Go to Filter>Render>LightingAffects.
Change the settings to look some what like this.

Image: http://forum.codecall.net/picture.php?albumid=43&amp;pictureid=200 

Make sure you set the light type to omni.

Now go to Filter>Render>LensFlare.
Change the settings to this and position it on top of the sun.

Image: http://forum.codecall.net/picture.php?albumid=43&amp;pictureid=201 

Now if all go's well you should come up with a picture that looks like this.

Image: http://forum.codecall.net/picture.php?albumid=43&amp;pictureid=202 

And that's it, very easy and cool(I think) to make, hope you like it.:)  (don't forget to leave your comments) Cya.]]></description>
			<content:encoded><![CDATA[<div>Hello every one this is my first PhotoShop tutorial in which I'm going to show you how to make the sun.:)<br />
<br />
OK make a new picture of whatever size you want.(I used 500 x 500)<br />
<br />
Go to Filter&gt;Render&gt;LightingAffects.<br />
Change the settings to look some what like this.<br />
<br />
<img src="http://forum.codecall.net/picture.php?albumid=43&amp;pictureid=200" border="0" alt="" class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /><br />
<br />
Make sure you set the light type to omni.<br />
<br />
Now go to Filter&gt;Render&gt;LensFlare.<br />
Change the settings to this and position it on top of the sun.<br />
<br />
<img src="http://forum.codecall.net/picture.php?albumid=43&amp;pictureid=201" border="0" alt="" class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /><br />
<br />
Now if all go's well you should come up with a picture that looks like this.<br />
<br />
<img src="http://forum.codecall.net/picture.php?albumid=43&amp;pictureid=202" border="0" alt="" class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /><br />
<br />
And that's it, very easy and cool(I think) to make, hope you like it.:)  (don't forget to leave your comments) Cya.</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/photoshop-tutorials/">Photoshop Tutorials</category>
			<dc:creator>thegamemaker</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/photoshop-tutorials/23976-how-make-sun-photshop.html</guid>
		</item>
		<item>
			<title>Selecting random withs with a WHERE clause</title>
			<link>http://forum.codecall.net/php-forum/23975-selecting-random-withs-where-clause.html</link>
			<pubDate>Sun, 03 Jan 2010 02:13:17 GMT</pubDate>
			<description><![CDATA[I'm currently trying to code a random pokemon generator. I have an HTML form that gives a person the option to select from 1 to 6 pokemon to generate and then select a pokemon type to restrict the results to (or select "any" and have all types included). I then want to results to be displayed with information like "id" "name" "type" then a picture/icon (will grab from id to fetch image). I already have a database built with all the information I need.

I've been having some trouble, though. I can't get the query to write to an array. I'm not sure where I'm going wrong with my code. Perhaps one of you can figure it out:


PHP:
---------
$db = new PDO( 'mysql:host=localhost;dbname=fluue_pokemon', "fluue_***removed***", "***removed***" );


	//set limit based on form drop down box
	$limit = $_POST['pokemonlimit'];
	//set pokemon type base on form
	$t = $_POST['t1'];
	switch ($t)  //determines which group to query
{
case 0:
  $type = '%';
  break;
case 1:
  $type = 'grass';
  break;
case 2:
  $type = 'fire';
  break;
case 3:
  $type = 'ground';
  break;
default:
  echo "Error!";
}

$i=1;  //set base value for looping - we want it to loop only the set number of times as in $limit!



do
{
	$i++;
	
	
	
$stmt = $db->prepare( "
    SELECT * 
    FROM pokemon
    WHERE type1 LIKE :type1
" );

var_dump($stmt->execute( array(
    "type1" => $type
)));

$rows = array($stmt);
if( var_dump($rows = $stmt->fetchAll()) )
{
    print_r( $rows[ rand() ] );
}
else
{
    die( "Bugger.\n" );
}



}
while($i<=$limit);
---------
Any help to fixing this would be greatly appreciated. Thanks!]]></description>
			<content:encoded><![CDATA[<div>I'm currently trying to code a random pokemon generator. I have an HTML form that gives a person the option to select from 1 to 6 pokemon to generate and then select a pokemon type to restrict the results to (or select &quot;any&quot; and have all types included). I then want to results to be displayed with information like &quot;id&quot; &quot;name&quot; &quot;type&quot; then a picture/icon (will grab from id to fetch image). I already have a database built with all the information I need.<br />
<br />
I've been having some trouble, though. I can't get the query to write to an array. I'm not sure where I'm going wrong with my code. Perhaps one of you can figure it out:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">$db&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">PDO</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">'mysql:host=localhost;dbname=fluue_pokemon'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"fluue_***removed***"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"***removed***"&nbsp;</span><span style="color: #007700">);<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//set&nbsp;limit&nbsp;based&nbsp;on&nbsp;form&nbsp;drop&nbsp;down&nbsp;box<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$limit&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'pokemonlimit'</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//set&nbsp;pokemon&nbsp;type&nbsp;base&nbsp;on&nbsp;form<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$t&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$_POST</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'t1'</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;switch&nbsp;(</span><span style="color: #0000BB">$t</span><span style="color: #007700">)&nbsp;&nbsp;</span><span style="color: #FF8000">//determines&nbsp;which&nbsp;group&nbsp;to&nbsp;query<br /></span><span style="color: #007700">{<br />case&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">:<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$type&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'%'</span><span style="color: #007700">;<br />&nbsp;&nbsp;break;<br />case&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">:<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$type&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'grass'</span><span style="color: #007700">;<br />&nbsp;&nbsp;break;<br />case&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">:<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$type&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'fire'</span><span style="color: #007700">;<br />&nbsp;&nbsp;break;<br />case&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">:<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$type&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'ground'</span><span style="color: #007700">;<br />&nbsp;&nbsp;break;<br />default:<br />&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Error!"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">$i</span><span style="color: #007700">=</span><span style="color: #0000BB">1</span><span style="color: #007700">;&nbsp;&nbsp;</span><span style="color: #FF8000">//set&nbsp;base&nbsp;value&nbsp;for&nbsp;looping&nbsp;-&nbsp;we&nbsp;want&nbsp;it&nbsp;to&nbsp;loop&nbsp;only&nbsp;the&nbsp;set&nbsp;number&nbsp;of&nbsp;times&nbsp;as&nbsp;in&nbsp;$limit!<br /><br /><br /><br /></span><span style="color: #007700">do<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$i</span><span style="color: #007700">++;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #0000BB">$stmt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">prepare</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"<br />&nbsp;&nbsp;&nbsp;&nbsp;SELECT&nbsp;*&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;FROM&nbsp;pokemon<br />&nbsp;&nbsp;&nbsp;&nbsp;WHERE&nbsp;type1&nbsp;LIKE&nbsp;:type1<br />"&nbsp;</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">execute</span><span style="color: #007700">(&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"type1"&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$type<br /></span><span style="color: #007700">)));<br /><br /></span><span style="color: #0000BB">$rows&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br />if(&nbsp;</span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$rows&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">())&nbsp;)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">print_r</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">$rows</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">rand</span><span style="color: #007700">()&nbsp;&#93;&nbsp;);<br />}<br />else<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;die(&nbsp;</span><span style="color: #DD0000">"Bugger.\n"&nbsp;</span><span style="color: #007700">);<br />}<br /><br /><br /><br />}<br />while(</span><span style="color: #0000BB">$i</span><span style="color: #007700">&lt;=</span><span style="color: #0000BB">$limit</span><span style="color: #007700">);&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div>Any help to fixing this would be greatly appreciated. Thanks!</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/php-forum/">PHP Forum</category>
			<dc:creator>Verk</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/php-forum/23975-selecting-random-withs-where-clause.html</guid>
		</item>
		<item>
			<title>Shell script that emulates the tree command in Linux</title>
			<link>http://forum.codecall.net/shell-scripts/23974-shell-script-emulates-tree-command-linux.html</link>
			<pubDate>Sun, 03 Jan 2010 01:14:02 GMT</pubDate>
			<description><![CDATA[
Code:
---------
#!/bin/bash

# This shell program prints a tree diagram of
# the files in a directory, using recursion.
# It is an emulation of the Linux tree command,
# which I don't have on my Mac.  There is a
# deficiency with this program in that it gets
# confused if it comes across a file with
# spaces in its filename.

olddir=$PWD;
declare -i stackheight=0;
# stackheight determines the directory depth.
function listfiles {
	cd $1;
	for file in *
	do
		if [ -f $file ]
		then
			for((i=0; $i < $stackheight; i++))
			do
				printf "        ";
			done
			# indentation shows how deep the file is in the directories
			echo $file;
		elif [ -d $file ]
		then
			for((i=0; $i < $stackheight; i++))
			do
				printf "        ";
			done
			echo $file;
			stackheight=$stackheight+1;
			# more indentation
			listfiles $file;
			# recursive listing of files
			cd ..;
		fi
	done
	stackheight=$stackheight-1;
	# less indentation
}
listfiles $1;
cd $olddir;
---------
]]></description>
			<content:encoded><![CDATA[<div><div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#!/bin/bash<br />
<br />
# This shell program prints a tree diagram of<br />
# the files in a directory, using recursion.<br />
# It is an emulation of the Linux tree command,<br />
# which I don't have on my Mac.&nbsp; There is a<br />
# deficiency with this program in that it gets<br />
# confused if it comes across a file with<br />
# spaces in its filename.<br />
<br />
olddir=$PWD;<br />
declare -i stackheight=0;<br />
# stackheight determines the directory depth.<br />
function listfiles {<br />
&nbsp; &nbsp; &nbsp; &nbsp; cd $1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; for file in *<br />
&nbsp; &nbsp; &nbsp; &nbsp; do<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if [ -f $file ]<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for((i=0; $i &lt; $stackheight; i++))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf &quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; done<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # indentation shows how deep the file is in the directories<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo $file;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif [ -d $file ]<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for((i=0; $i &lt; $stackheight; i++))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf &quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; done<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo $file;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; stackheight=$stackheight+1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # more indentation<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; listfiles $file;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # recursive listing of files<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cd ..;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi<br />
&nbsp; &nbsp; &nbsp; &nbsp; done<br />
&nbsp; &nbsp; &nbsp; &nbsp; stackheight=$stackheight-1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; # less indentation<br />
}<br />
listfiles $1;<br />
cd $olddir;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/shell-scripts/">Shell Scripts</category>
			<dc:creator>DarkLordoftheMonkeys</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/shell-scripts/23974-shell-script-emulates-tree-command-linux.html</guid>
		</item>
		<item>
			<title><![CDATA[[C++] libcurl & Gmail communication through HTTP]]></title>
			<link>http://forum.codecall.net/c-c/23973-c-libcurl-gmail-communication-through-http.html</link>
			<pubDate>Sat, 02 Jan 2010 23:44:17 GMT</pubDate>
			<description><![CDATA[Hello i`m trying to search mailbox on gmail server with use option `mailbox search`. I`m logged in, with use of libCurl and when i`m sending that request :


---Quote---
GET /mail/h/6x6ndo2iyv7v/?s=q&q=5&nvp_site_mail=Przeszukaj+skrzynk%C4%99 HTTP/1.1
---End Quote---
The server response is : HTTP 1.1 200 OK but response length is NULL, only header with 200 code. When i`m sending this request through internet explorer everything work fine.. (i use http sniffer).]]></description>
			<content:encoded><![CDATA[<div>Hello i`m trying to search mailbox on gmail server with use option `mailbox search`. I`m logged in, with use of libCurl and when i`m sending that request :<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				GET /mail/h/6x6ndo2iyv7v/?s=q&amp;q=5&amp;nvp_site_mail=Przeszukaj+skrzynk%C4%99 HTTP/1.1
			
			<hr />
		</td>
	</tr>
	</table>
</div>The server response is : HTTP 1.1 200 OK but response length is NULL, only header with 200 code. When i`m sending this request through internet explorer everything work fine.. (i use http sniffer).</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/c-c/">C and C++</category>
			<dc:creator>winuser</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/c-c/23973-c-libcurl-gmail-communication-through-http.html</guid>
		</item>
		<item>
			<title>TASM circle area. plz help</title>
			<link>http://forum.codecall.net/assembly/23972-circle-area-plz-help.html</link>
			<pubDate>Sat, 02 Jan 2010 20:20:06 GMT</pubDate>
			<description><![CDATA[hi, i have to write code which lets you to input radius and then finds area of the circle. the rasult musn't be only integer so i use quadruple real number variables. then i dont know how to move such variable to microprocessor because all registers are no more than  16bit. Thats my code, please help me to finish it  (var3 is 3,14)
ASSUME CS:code, DS:data, SS:sstack                                      
                                                                         
                                                                         
sstack    SEGMENT    PARA STACK 'STACK'                                  
    DB    256 dup (?)                                                    
sstekas    ENDS                                                           
                                                                         
                                                                         
data    SEGMENT                                                          
                                                                         
 msg db 10, 13, "Input radius"                                          
 enterp db  10, 13, "$"                                                  
 maxlength db 255                                                         
 length db ?                                                              
 var1 dq 8 dup ('0')                   
 var2 dq ?                   
 var3 dq 19023D70A3D70A3Dh                                     
 res_str db 19 dup ('$')             
 res dd 00000000h                                                                                                   
                                                                         
data ENDS                                                                
                                                                         
code SEGMENT                        
start:                               
                                     
mov ax, data                                                             
mov ds, ax                                                               
                                                                         
mov ax, 02h                                                              
int 10h                                                                  
                                                                         
mov dx, offset msg                                                       
mov ah, 9                                                                
int 21h                                                                  
                                                                         
mov dx, offset maxlength                                                  
mov ah, 10                                                               
int 21h                                                                  
                                                                         
mov dx, offset enterp                                                   
mov ah, 9                                                                
int 21h                              
                                                        
                                     
finit                                
fld var3                            
fld var2                             
fld var1                             
fst st(1)                            
fmul st(0), st(1)                        
fmul st(0), st(2)                        
fst res                             
fwait                                
                                     
call res_to_str
call print_res 
               
               
mov ah, 07h                             
int 21h        
               
mov ah, 4Ch    
int 21h                                                            
               
res_to_str:    
               
push ax        
push di        
push cx        
push dx        
               
xor di, di         
xor cx, cx          
mov dx, 10                               
mov ax, res                              
                                         
find_length:                             
div dl                                   
xor ah, ah                               
inc cx                                   
cmp al, 0                                
je res_buf                               
jmp find_length                          
                                         
res_buf:                            
mov ax, res                         
mov di, cx                          
dec di                              
                                    
mov_to_buf:                         
div dl                              
mov res_str[di], ah                 
dec di                              
loop mov_to_buf
               
exit:          
pop dx         
pop cx         
pop di         
pop ax                     
               
ret            
               
print_res:     
push ax        
push dx        
               
mov dx, offset res_str
mov ah, 9      
int 21h        
               
pop dx         
pop ax         
               
ret            
          
code ends               
end start]]></description>
			<content:encoded><![CDATA[<div>hi, i have to write code which lets you to input radius and then finds area of the circle. the rasult musn't be only integer so i use quadruple real number variables. then i dont know how to move such variable to microprocessor because all registers are no more than  16bit. Thats my code, please help me to finish it  (var3 is 3,14)<br />
ASSUME CS:code, DS:data, SS:sstack                                      <br />
                                                                         <br />
                                                                         <br />
sstack    SEGMENT    PARA STACK 'STACK'                                  <br />
    DB    256 dup (?)                                                    <br />
sstekas    ENDS                                                           <br />
                                                                         <br />
                                                                         <br />
data    SEGMENT                                                          <br />
                                                                         <br />
 msg db 10, 13, &quot;Input radius&quot;                                          <br />
 enterp db  10, 13, &quot;$&quot;                                                  <br />
 maxlength db 255                                                         <br />
 length db ?                                                              <br />
 var1 dq 8 dup ('0')                   <br />
 var2 dq ?                   <br />
 var3 dq 19023D70A3D70A3Dh                                     <br />
 res_str db 19 dup ('$')             <br />
 res dd 00000000h                                                                                                   <br />
                                                                         <br />
data ENDS                                                                <br />
                                                                         <br />
code SEGMENT                        <br />
start:                               <br />
                                     <br />
mov ax, data                                                             <br />
mov ds, ax                                                               <br />
                                                                         <br />
mov ax, 02h                                                              <br />
int 10h                                                                  <br />
                                                                         <br />
mov dx, offset msg                                                       <br />
mov ah, 9                                                                <br />
int 21h                                                                  <br />
                                                                         <br />
mov dx, offset maxlength                                                  <br />
mov ah, 10                                                               <br />
int 21h                                                                  <br />
                                                                         <br />
mov dx, offset enterp                                                   <br />
mov ah, 9                                                                <br />
int 21h                              <br />
                                                        <br />
                                     <br />
finit                                <br />
fld var3                            <br />
fld var2                             <br />
fld var1                             <br />
fst st(1)                            <br />
fmul st(0), st(1)                        <br />
fmul st(0), st(2)                        <br />
fst res                             <br />
fwait                                <br />
                                     <br />
call res_to_str<br />
call print_res <br />
               <br />
               <br />
mov ah, 07h                             <br />
int 21h        <br />
               <br />
mov ah, 4Ch    <br />
int 21h                                                            <br />
               <br />
res_to_str:    <br />
               <br />
push ax        <br />
push di        <br />
push cx        <br />
push dx        <br />
               <br />
xor di, di         <br />
xor cx, cx          <br />
mov dx, 10                               <br />
mov ax, res                              <br />
                                         <br />
find_length:                             <br />
div dl                                   <br />
xor ah, ah                               <br />
inc cx                                   <br />
cmp al, 0                                <br />
je res_buf                               <br />
jmp find_length                          <br />
                                         <br />
res_buf:                            <br />
mov ax, res                         <br />
mov di, cx                          <br />
dec di                              <br />
                                    <br />
mov_to_buf:                         <br />
div dl                              <br />
mov res_str[di], ah                 <br />
dec di                              <br />
loop mov_to_buf<br />
               <br />
exit:          <br />
pop dx         <br />
pop cx         <br />
pop di         <br />
pop ax                     <br />
               <br />
ret            <br />
               <br />
print_res:     <br />
push ax        <br />
push dx        <br />
               <br />
mov dx, offset res_str<br />
mov ah, 9      <br />
int 21h        <br />
               <br />
pop dx         <br />
pop ax         <br />
               <br />
ret            <br />
          <br />
code ends               <br />
end start</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/assembly/">Assembly</category>
			<dc:creator>thatsme</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/assembly/23972-circle-area-plz-help.html</guid>
		</item>
		<item>
			<title>Paypal Integration</title>
			<link>http://forum.codecall.net/php-forum/23971-paypal-integration.html</link>
			<pubDate>Sat, 02 Jan 2010 19:52:43 GMT</pubDate>
			<description><![CDATA[Hello everyone, me and my friend have been making a site: faceplace.99k.org/ and we're going to sell upload spots, to do that, we need to integrate a Paypal form into our uploader. The uploader is located in here: faceplace.99k.org/uploader.php and we'd like to make a Paypal form which let's the customers pay first and when the payment is done, they get redirected to that page. We only need to know how to make the Paypal form, nothing else.
Greetz, Jojo]]></description>
			<content:encoded><![CDATA[<div>Hello everyone, me and my friend have been making a site: faceplace.99k.org/ and we're going to sell upload spots, to do that, we need to integrate a Paypal form into our uploader. The uploader is located in here: faceplace.99k.org/uploader.php and we'd like to make a Paypal form which let's the customers pay first and when the payment is done, they get redirected to that page. We only need to know how to make the Paypal form, nothing else.<br />
Greetz, Jojo</div>

]]></content:encoded>
			<category domain="http://forum.codecall.net/php-forum/">PHP Forum</category>
			<dc:creator>jojofromjory</dc:creator>
			<guid isPermaLink="true">http://forum.codecall.net/php-forum/23971-paypal-integration.html</guid>
		</item>
	</channel>
</rss>
