osc/php pros (simple code adjustment)

I currently have a little script on my osc site that is acting up.

It's really a simple rewrite of the 'featured' module.

It counts item quantities and adjusts when item is sold.

The problem is that when the qty gets to zero, I end up with "Divison By Zero" errors.

Can this be remedied with a simple 'if' statement?

I'm not a php pro.

Kemahiran: Javascript, PHP, Troli Membeli-belah

Lihat lagi: osc php, php time adjustment code, statement problem, rewrite module, it problem statement, adjust featuredphp module, php pros, php osc, QUANTITIES, Pros, php pro, php errors, little code, pro module, rewrite javascript, simple module, javascript code rewrite, script php rewrite, javascript code script php, osc pros, code simple, rewrite javascript php, code module, code pro, php problem

Tentang Majikan:
( 62 ulasan ) Houston, United States

ID Projek: #267421

Dianugerahkan kepada:


Lets get started

$30 USD dalam 0 hari
(127 Ulasan)

3 pekerja bebas membida secara purata $30 untuk pekerjaan ini


Treewalker would like to do this task. Looking forward in anticipation for your considerations. Please see PMB for details.

$30 USD dalam sehari
(28 Ulasan)

Yes, absolutely. Can be done within shortest possible of time.

$30 USD dalam 0 hari
(22 Ulasan)