B
B
borizi2014-07-15 16:25:45
PHP
borizi, 2014-07-15 16:25:45

How to make a form for checking the balance of a bonus card?

The site requires a simple form for checking the balance of a bonus card.
The client enters the card number and last name and receives the balance of the card as a result.
In the constructor of our cms (ancient internet.cms) there is no way to create such a form. I don't have the skills to write them by hand.
Please advise the simplest solution to this problem.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Entelis, 2014-07-15
@DmitriyEntelis

The easiest solution is to hire someone who can.
A couple of hours to deal with cms, 20 minutes to make a form.

O
Optimus, 2014-07-15
Pyan @marrk2

Well, if I write to you:

// count - столбец с номерами счетов, client - таблица клиентов
$query = "SELECT count FROM client"; 
$stmt = $db->prepare($query);
$stmt->execute();
$ArrLink = $stmt->fetchAll(PDO::FETCH_ASSOC);
echo "$ArrLink[$i]['count']"; // тут $i номер счёта клиента

it is unlikely to help you much without technical knowledge.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question