Go Back   Computer Forums > Web Design | Website Development > Web Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 02-19-2004, 02:36 PM   #1
Beta Member
Join Date: Feb 2004
Posts: 1
Send a message via ICQ to jessa_lee Send a message via AIM to jessa_lee Send a message via Yahoo to jessa_lee
Default PHP form w/ formatted printable output?

Problem: We have about 5 different paper forms for users to fill out when they need new hardware, upgrades, software access & security changes, new hires setup, etc... The forms are always needing to be changed and reprinted, and there are always old copies laying around getting used, prividing invalid information, and a lot of stress.

Hope: I want to create 1 (ONE) PHP form to put on the company's intranet for users to select their way through to get exactly the options they need to print out on one form, with selections and input entered, so they can print it off and collect the necessary Exec.'s signatures. No more old versions floating around, no more writing the info on the wrong form or in the wrong sections!!

Can anyone point me in the right direction? I'm somewhat proficient in PHP, I just need a base to start from and any pointers that you can offer.

Thanks all!!

jessa_lee is offline   Reply With Quote
Old 02-19-2004, 02:42 PM   #2
Site Team
David Lindon's Avatar
Join Date: Dec 2002
Posts: 15,233
Default Re: PHP form w/ formatted printable output?

Well, start out with a variable which will be called from a querry string. If the variable is not present (I.e. null, 0 etc.) Ask the user which one, which runs an url *?Forum=1 or 2 etc depending on what form they want. Then just use simple if statements to print basic HTML for the layout for the layout of the form you want.
Have you got that?

[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 02-19-2004, 06:27 PM   #3
Lord Kalthorn's Avatar
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn

Now I'm interested! I have always been interested in the PHPs in many websites; including this one and the ASPs in many other websites; like Microsoft ones.

What has specifically made me interested is the ?; how do you get this to find the right page? Are the pages it gets from the ? in HTML?

How is PHP different from other Languages?
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 11:34 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0