I was hoping to create a simple search engine with php and mySQL how would i put my ranking algorithm into it

I'm learning php myself and from what I've researched is seems that an algorithm can be defined in a for loop in php. I've never tried this but I've seen several snipets of code out there doing just that. Although, depending on the complexity of the algorithm you could probably use any other kind of php loop since an algorithm is essentially a loop.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.