Creating object from MySQL [+rep?]
#8

That wouldn't work because you need to store the OBJECT ID (in your server, not it's model) to a variable.

Which means, when you use CreateObject, make sure you store the returned ID to something.

You know, like: "myobject = CreateObject(...);"

So, if you want to remove it, you need to use DestroyObject(myobject);
Reply


Messages In This Thread
Creating object from MySQL [+rep?] - by Michael@Belgium - 11.03.2012, 10:55
Re: Creating object from MySQL [+rep?] - by Shabi RoxX - 11.03.2012, 11:06
Re: Creating object from MySQL [+rep?] - by Michael@Belgium - 11.03.2012, 11:35
Re: Creating object from MySQL [+rep?] - by Shabi RoxX - 11.03.2012, 11:39
Re: Creating object from MySQL [+rep?] - by Vince - 11.03.2012, 12:16
Re: Creating object from MySQL [+rep?] - by Michael@Belgium - 11.03.2012, 12:50
Re: Creating object from MySQL [+rep?] - by Michael@Belgium - 15.03.2012, 16:30
Re: Creating object from MySQL [+rep?] - by iPLEOMAX - 15.03.2012, 16:36
Re: Creating object from MySQL [+rep?] - by SimonItaly - 15.03.2012, 16:40
Re: Creating object from MySQL [+rep?] - by Michael@Belgium - 15.03.2012, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)