Querying Links – Web Development


Here we are in the file we’ve been working in this entire lecture. This has our class link. That just has the basic properties, and then 25 instances of that class that we’ve been scanning and searching over. What I’d like you to do–this doesn’t involve any SQL– is implement this function link by ID. That takes a link ID and will return the link object itself. So for example, if I gave it 24, it would return this entire link object. Use the global variable links to find this. Okay, good luck.

Be the first to comment

Leave a Reply

Your email address will not be published.


*