Hi Andy,

In your Blog:

on mouseUp
  //the '&' in the string will cause problems so url encode it
  put urlEncode("black&white") into tencodedString
  put "animal=" & cat & "&color=" & tencodedString into tmyData
  post tmyData to url "http://2108.co.uk/code/lc/mypost.lc?";
end mouseUp

I think you meant:

put "animal=" & "cat" & "&color=" & tencodedString into tmyData

which really should be:

put "animal=cat&color=" & tencodedString into tmyData

or you meant

put "cat" into tmyAnimal
put "animal=" & tmyAnimal & "&color=" & tencodedString into tmyData
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to