I have a client that wants to be able to display a list of contacts that have requested a call back from him.
On this list he wants their phone number that was submitted.
This is easy stuff to here...
But then he wants to click on the displayed phone number and have it automatically dial that number through skype.
I've been searching the web and daniweb and haven't found a REAL solution.
the closest thing I have found is this
// sample version <a href="callto://usernameOrphonenumber/">Whatever you want here</a> // my version <a href="callto://<?php print $row_data[$rc];?>/"><?php print $row_data[$rc]; ?></a>
I have tried it several times but haven't been able to get it to do anything other than open skype to the point where you enter a phone number to call.
Is there a way to do this automatically??
And then the secondary question would be, Is it going to matter the format that someone has entered their phone number in? Some people use periods as separaters, some use dashes, some don't use anything, some include country code, etc...
Is there an efficient way to cause the number to be just numeric digits? I'm guessing REGEX of some sort...
Any assistance or direction would be greatly appreciated.