dongleiwei2182 2014-09-10 02:56
浏览 27

通过PHP和Javascript实现智能输出

I am stuck and could not found any solutions from web and I am not sure how to construct the coding through PHP/Javascript and MySql. The thing is that, I have a Table (Table-1) with

Table-1

Colour  Barcode Quantity
Blue    123456  25
Red     234859  35
Black   238402  60
Yellow  238492  50

Now I want an output of 4 colours on a page based on quantity ration MAX two rows X 4 colour format.

Example:

First Page (say):

Blue    Red Black   Black
Black   Black   Yellow  Yellow

Second Page (say):

Blue    Red Black   Black
Black   Yellow  Yellow  Yellow

And so on.

This is I am trying to achieve from a long time but could not get from where to start because I am not very good a PHP and Java script. Any help will be kind enough to complete my project Thanks Sagor

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 gg加速器加速游戏时,提示不是x86架构
    • ¥15 python按要求编写程序
    • ¥15 Python输入字符串转化为列表排序具体见图,严格按照输入
    • ¥20 XP系统在重新启动后进不去桌面,一直黑屏。
    • ¥15 opencv图像处理,需要四个处理结果图
    • ¥15 无线移动边缘计算系统中的系统模型
    • ¥15 深度学习中的画图问题
    • ¥15 java报错:使用mybatis plus查询一个只返回一条数据的sql,却报错返回了1000多条
    • ¥15 Python报错怎么解决
    • ¥15 simulink如何调用DLL文件