We don’t go that far into looking at PHP, there is a requirement to know about server-side and client-side scripting, but no requirement to be able to write or create using either. However we also do not use WebPlus and the search function built that can be added to those pages is quite messy and would involve the students building their site around search function, which I don’t think is the point of the almost throwaway line in the specification. After a bit of searching I couldn’t find any pre-written code that suited my purpose so I ended up having to write my own by simplifying and combining a few examples. I have attached my example file. I may give them this page as is, and have them adapt it to fit their own sites.
#Edit: can’t attach so uploaded to documents