Re: [PHP-DB] MSsql madness

2011-06-24 Thread Daniel Brown
On Fri, Jun 24, 2011 at 16:07, Paul Wilson wrote: > please remove me from this list Email php-db-unsubscr...@lists.php.net. -- Network Infrastructure Manager http://www.php.net/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] MSsql madness

2011-06-24 Thread Paul Wilson
please remove me from this list On Fri, Jun 24, 2011 at 3:02 PM, Troy Oltmanns wrote: > Hey php-dbers, > > I have a helper script that connects to an MSsql database to select > retailer > location information, which is then processed into mysql statements to be > inserted into another remote dat

[PHP-DB] MSsql madness

2011-06-24 Thread Troy Oltmanns
Hey php-dbers, I have a helper script that connects to an MSsql database to select retailer location information, which is then processed into mysql statements to be inserted into another remote database (this one MYsql). Currently it is ran manually from a windows system that was preconfigured (

Re: [PHP-DB] Re: radio form submission

2011-06-24 Thread Jim Giner
The error is pretty explicit - there is no field in your table called '250kbps'. What you should have is a field (column) called "speed" for example, with values from 1...5 or whatever. To the users they will only deal with actual speed values on their screen if you use the speeds as the valu

Re: [PHP-DB] Re: radio form submission

2011-06-24 Thread Chris Stinemetz
Thanks everyone. > If there is no purpose, I would make the values of the inputs the values you > want to store in your database. > Muuch easier.. > So I am trying to keep this simple and just assign the value with the radio button and then insert it into mysql database, but with the following co

Re: [PHP-DB] Re: radio form submission

2011-06-24 Thread Karl DeSaulniers
Hi Chris, Here is the corrected code. Yes, call the function before the SQL SELECT like so. You may have to work with it a bit. This was just off the top of the head. But now that I look at it, I think Jim may be right. What's the purpose of the inputs having 1, 2, 3, etc and not the 0-250

Re: [PHP-DB] radio form submission

2011-06-24 Thread Guruâ„¢
I guess if you are storing the value of "post_tptest" in the database, it should return the same value what the user selected in the radio option. If I am right in your display you are just calling the data from the database. Check if the data is properly storing the radio button values in the data