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

Taidot: ERP, Javascript, MySQL, PHP

Näytä lisää: 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

Tietoa työnantajasta:
( 24 arvostelua ) santa cruz, Bolivia

Projektin tunnus: #15193318

Myönnetty käyttäjälle:

$30 USD 1 päivässä
(76 Arvostelua)

7 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


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 1 päivässä
(57 arvostelua)

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 Lisää

$25 USD 1 päivässä
(9 arvostelua)
$30 USD 1 päivässä
(20 arvostelua)
$25 USD 1 päivässä
(10 arvostelua)

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 1 päivässä
(0 arvostelua)

A proposal has not yet been provided

$35 USD 5 päivässä
(0 arvostelua)