php to read only the numbers, avoid any letters or characters

I want to modify a part of the php file that generates my invoices:

in this section:


include($path_to_root .'/control/[url removed, login to view]');

/*$numero_autorizacion = '29040011007';

$numero_factura = '1503';

$nit_cliente = '4189179011';

$monto_compra = '2500';

$clave = '9rCB7Sv4X29d)5k7N%3ab89p-3(5[A';*/

$total_cc = round($sub_total);

$codigo_control = CodigoControlV7::generar($auth_no, $myrow["reference"], $myrow['tax_id'], $fecha_compra, $total_cc, $empresa['key_dos']);


I want the code to read only the numbers that exist in "reference". And avoid any letters or characters that may exist.

As for example if the "reference" is: a0001 that the algorithm will only read 0001 and obviate the letter "a". This is not currently the case.

As this page does (see the "Verhoeff Check Digit Calculator" part)

[url removed, login to view]

If you enter for example: a485 the result is: 9

If you enter: 485 the result is: 9

Skills: ERP, Javascript, MySQL, PHP

See more: i want php freelancers phone numbers, i want freelance business development manager in web development hyderabad phone numbers, i want to translate some letters, ambiguous characters password, ambiguous character definition, php check if string contains only numbers, ambiguous characters list, ambiguous letters and numbers, php check if string contains numbers and letters, php check if string contains special characters, php check if string contains only letters, i want to learn to read and write, i want to know if this website excist www r7nl 14 v2 php, i want outsourse project in php net wordpress in ahmedabad, i want my name in ghetto graffiti letters, i want arabic letters, i want a drawing of marvel & dc characters, i want to out source php framework and web design work, i want to hire freelance php developer, i want php project

About the Employer:
( 24 reviews ) santa cruz, Bolivia

Project ID: #15193318

Awarded to:

$30 USD in 1 day
(76 Reviews)

7 freelancers are bidding on average $29 for this job


Hi, PHP, HTML, SQL,CSS,Jquery, javascript,Wordpress, Opencart, Magento, Prestashop,expert with over 5 years of experience. Can work and complete the task as specified. Understood the requirement.

$35 USD in 1 day
(57 Reviews)

Hello, We are Experienced Developer and capable of skills please message so we can discuss the project. Relevant Skills and Experience: PHP, JAVA, mySQL, Wordpress, Shopify, Woocommerce, Ecommerce and etc Proposed Mile More

$25 USD in 1 day
(9 Reviews)
$30 USD in 1 day
(20 Reviews)
$25 USD in 1 day
(10 Reviews)

Greeting! I am a professional programmer having 4+ years of experience in web development. I have working in PHP for 4 years. i can solve this problem quickly thanks,

$25 USD in 1 day
(0 Reviews)

A proposal has not yet been provided

$35 USD in 5 days
(0 Reviews)