All pastes #46841 Raw Edit

Stuff

public text v1 · immutable
#46841 ·published 2006-03-24 17:25 UTC
rendered paste body
Form Entry:

<input name="driver_option_rtd" type="text" maxlength="11" id="driver_option_rtd" class="text" />


Variable:

$driver_option_rtd=$_POST['driver_option_rtd'];

Insert Statement:

'$driver_option_rtd'


"query Statement"

$query = "INSERT INTO packageinquiry VALUES ('', '$wssquotenumber', '$customer', '$customerattention', '$customer_address', '$customer_city', '$customer_province', '$customer_postalcode', '$customer_phone', '$customer_fax', '$customer_cell', '$customer_email', '$customer_salescontact', '$customer_location', '$customer_lsd', '$fluid_type', '$fluid_flow', '$fluid_flow_type', '$suction_npsh', '$suction_npsh_type', '$discharge_pressure', '$discharge_pressure_type', '$fluid_temp', '$fluid_temp_type', '$fluid_viscosity', '$specific_gravity', '$solids_in_fluid', '$solids_in_fluid_size_in_micron', '$solids_in_fluid_concentration', '$number_of_pumps', '$packing_material', '$valve_style', '$plunger_material', '$pump_manufacturer', '$pump_option_lubricator', '$pump_option_lowoil', '$pump_option_vibration', '$pump_option_lubricatorlowoil', '$pump_option_pulsation', '$pump_option_suction', '$pump_option_discharge', '$area_classification', '$driver_type', '$driver_manufacturermodel', '$driver_option_thermistors', '$driver_option_rtd', '$driver_option_clutch', '$skid_size', '$package_option_chargepump', '$package_option_flowmeter', '$package_option_heater', '$package_option_annunciator', '$package_option_reliefvalve', '$package_option_strainer', '$package_option_bypasscontrolvalve', '$package_option_filterbypass', '$package_option_filter', '$package_option_suctionpressureshutdown', '$package_option_dischargepressureshutdown', '$package_option_insulatedskidfloor', '$package_option_electricalpackage', '$package_option_suctionpiping', '$package_option_dischargpiping', '$package_option_removabelpumpprimemoverskid', '$piping_options_xray', 'piping_options_pressuretest', '$piping_options_internallycoated', '$piping_options_ca', '$building_options_roofwallexterior', '$building_options_roofwallexteriorcolor', '$building_options_roofwallexteriortrim', '$building_options_roofwallsinterior', '$building_options_acousticliner', '$building_options_doorcanopies', '$building_options_translucentroofpanels', '$building_options_gutters', '$building_options_removablesection', '$building_options_ridgevent', '$building_options_ventilators', '$building_options_louvers', '$building_options_whirlbird', '$building_options_exhaustfans', '$building_options_numsberofsingledoors', '$building_options_doubledoors', '$buidling_options_numberwindows', '$other_options', '$finance_options' )";


Output from var_dump($query);

string(1225) "INSERT INTO packageinquiry VALUES ('', 'wssquotenumber2', 'customer', 'attention', 'address', 'city', 'province', 'postalcode', 'phone', 'fax', 'cell', 'email', 'salescontact', 'location', 'lsd', 'fluidtype', 'fluidflow', 'lpm', 'suctionnphs', 'kpa', 'dischargepres', 'kpa', 'fluidtemp', 'C', 'fluidviscosity', 'specificgravity', 'solidsinfluid', 'sizemicron', 'concentration', 'two@50', 'Adjustable', 'Titatium Disc', 'Hardco', 'manufacturer', 'lubricator', 'lowoil', 'vibration', 'LubricatorLowOil', 'Pulsation', 'Suction', 'Discharge', 'class II div II TEFC', 'Natural Gas', 'model', 'thermistors', '', 'clutch', 'Buidling Package', 'charge pump', 'flow meter', 'heater', 'annunciator', 'Relief Valve', 'Strainer', 'Bypass Control Valve', 'Filter Bypass', 'filter', 'Suction Pressure Shutdown', 'Discharge Pressure Shutdown', 'Insulated Skid Floor', 'Electrical Package', '300 #', '150 # ANSI', 'primemoverskid', '10%', 'piping_options_pressuretest', '100%', '1/16 STD.', '', 'color', 'trim', 'White Liner', 'Acoustic Liner', 'Door Canopies', 'Translucent Roof', 'Gutters Spouts', 'Removable Section', 'Ridge Vent', 'ventilators', 'on', 'whirl bird', 'Class I Div I - XP', '', '', '', 'otheroptions', 'Outright Purchase' )"