Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 82367

cant write “phone_number” to db as “tel:phone_number”

$
0
0

Replies: 0

Hello,
if user-phone input is 777888999
stock code: “$phone = isset($_POST[‘user-phone’]) ? ($_POST[‘user-phone’])”
writes to base as “777888999”
i need to write write to base as “tel:777888999”
i cant google what is “?” for. can i put something like addtel? example: $phone = isset($_POST[‘user-phone’]) ? addtel($_POST[‘user-phone’])


Viewing all articles
Browse latest Browse all 82367

Trending Articles