RE: Re: Handling an email form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Jim Giner [mailto:jim.giner@xxxxxxxxxxxxxxxxxx]
> Sent: 21 January 2014 14:08
> To: php-general@xxxxxxxxxxxxx
> I perhaps misled you with my reference to GET.  Actually it seems to
> grab my input tag contents and create what LOOKS like the query
> portion
> of a normal GET URL.  In this case it is just a string that looks
> like this:
>
> pq_qty_20=22&pq_qty_18=18&pq_qty_19=19&btn=Post+Email+Purchases
>
> So - with this my script simply breaks it down by "&" and then by
> "=" to
> get my values for updating my db.  In this case there are 3 sets of
> data
> to do updates with.

You may want to consider PHP's parse_str() function...?


Cheers!

Mike

--
Mike Ford,
Electronic Information Developer, Libraries and Learning Innovation,
403a Leslie Silver Building, City Campus, Leeds Metropolitan University,
Woodhouse Lane, LEEDS,  LS1 3ES,  United Kingdom
E: m.ford@xxxxxxxxxxxxxx     T: +44 113 812 4730







To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux