My background is primarily C++, but I am working on an independent study project to get some experience in web design. Anyway, my project involves my own little area in the Database, but for some reason my employer doesn't want me using stored procedures. I am going to write a php file with functions to access the database. This file will be included in the php files I produce the web pages.
Anyway, I want to know if I can declare multiple functions with the same name, but differentiate what they do by what I pass them a la C++. Here is the C++ equivalent of what I mean if I am not being clear enough. (Nothing to do with what I am writing, just the first example that came to mind)
LVector4 CheckRayCollision(LVector4, distance);
LVector4 CheckRayCollision(LVector4, LVector4);
Thanks.