Converting this code from ASP to PHP
- by jethomas
I'll admit I'm a novice programmer and really the only experience I have is in classic ASP. I'm looking for a way to convert this asp code to PHP. For a customer who only has access to a linux box but also as a learning tool for me.
Thanks in advance for the help:
Recordset and Function:
Function pd(n, totalDigits)
if totalDigits >…