What's new
  • Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

Help Php Web bookstore

Angel Montaril

Addict
Established
Joined
Apr 15, 2015
Messages
441
Reaction score
142
Age
19
Guys tanong lang , kung alam nyo ung codes for web bookstore.

kada book may price . and kada book maglalagay users ng quantity.

pano ba yung ma popost ung summary and total ng quantity. example yung book is 300php and nilagay ni user na quantity is 2 , tas pano makukuha yung total. quantity = book1*Price; ganto ba? . ung code lang po for summary dko alam kung pano.
 

kingjaek

Addict
yeah. try associative array and ipasok mo sa foreach loop mo where key is the price and the value is the quantity tsaka mo imultiply.
 

oxy_63n

Addict
Guys tanong lang , kung alam nyo ung codes for web bookstore.

kada book may price . and kada book maglalagay users ng quantity.

pano ba yung ma popost ung summary and total ng quantity. example yung book is 300php and nilagay ni user na quantity is 2 , tas pano makukuha yung total. quantity = book1*Price; ganto ba? . ung code lang po for summary dko alam kung pano.

Gawa ka po ng parang e-cart hehe. use ajax jquery para no refresh when doing actions.
 

Unanswered Topics

Online statistics

Members online
723
Guests online
932
Total visitors
1,655

Forum statistics

Threads
831,624
Messages
14,695,245
Members
1,349,962
Top