Hi There -
Am having a little trouble with the following structures. I can't search for them in the manual because the search strips out the punctuation.
Have encountered these: -> and => in conjunction with arrays.
I think one references a member of an array and the other inserts the value. Not sure which and how that works. How do I search for this in the manual? I think I need to use them.I'm encountering in db queries some more characters that weren't covered in first-year php. Here's an example from Drupal:
"SELECT nid FROM {node} where uid = %d and type = '%s'";
curly braces? percent signs? They gotta be special, but in what ways?
- Finally: function node_save(&$node)
What's the '&' for?
Unfortunately, the manual doesn't play well with these characters and I can't figure out what they mean, so I'm posting them all here in the hopes that someone can give me some advice on how to find these structures in the future so I don't have to bother y'all. I feel like these are basic things I ought to know and whenever I search, I can't find anything meaningful.
So if possible, I'd love to know what these mean, but I'd also like to find out how to find other things like this that I encounter without having to ask. I'm grateful for any help I can get on this.
Thanks