Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
DuncanLakini
Newbie


Joined: 18 Feb 2008
Posts: 4

PostPosted: Mon Sep 27, 2010 4:22 pm   

hopefully a simple DB insert question.
 
I'm hoping I'm just missing something stupid here. Trying to insert a record into an eq database and it's inserting a row but no values are filled into the fields.

the command I am using is :
#if (%find(@newitem.name) ="") {#new "" @newitem}

newitem has 20 key's added with the #addkey added like so...
#addkey newitem name @name
#addkey newitem itemclass @itemclass

All the variables (@name, @itemclass, etc.) have the correct values and are not blank.. set from triggers after an id spell is cast

the database that is being inserted into has 20 columns all named exactly the same as the keys in the database variable @newitem

Am I missing something? I can email screenshots of the triggers and database if you need to see them.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net