/    Sign up×
Community /Pin to ProfileBookmark

Real Time Working in PHP

i am making a application for medical store and i want some real time working or calculaltion in php. When a customer name is entered when tab is pressed or scroll down to next text box automatically tells that customer is already added or this name is not available like in this website while registering username option happened. and when one medicine is selected its total amount is automatically calculated and when another medicine is selected automatically added to the bill. and also want to make report to print in php with specific size of customer requirement.

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@NogDogDec 27.2014 — That will require JavaScript, probably using AJAX calls to PHP scripts on the server, since the server (where your PHP runs) has no idea what the user is doing until the browser sends something to the server (e.g. a JavaScript AJAX request).
Copy linkTweet thisAlerts:
@4wellsolutionsauthorDec 29.2014 — HOW TO CREATE Reports in php to print. I want to print bill of customer show to make this report to print on dot matrix printer
Copy linkTweet thisAlerts:
@Strider64Dec 29.2014 — HOW TO CREATE Reports in php to print. I want to print bill of customer show to make this report to print on dot matrix printer[/QUOTE]

You're talking apples and oranges, first you'll need something like NogDog suggested and then you'll need to setup up a print format. The easiest print format would in my opinion be a print style sheet done in CSS -> http://www.smashingmagazine.com/2011/11/24/how-to-set-up-a-print-style-sheet/
×

Success!

Help @4wellsolutions spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...