Hi:

In PHP:
get the id like http://...?id=2,and:
mysql_query(update Note set coulm='value' where id='$_GET[id]')

In Google app engine:
step 1:
id=int(self.request.get('id')) #get ID

step 2: (does not work!)
-----------------------------------------------------
query = db.GqlQuery("SELECT * FROM Note WHERE key = :1", id) #get
Entity by 'GET method ID'?
-----------------------------------------------------

step 3:
for c in query:
   c.colum = self.request.get('value')
   .....
db.put(query)

Is anyone help me? Thanks a lot!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to