Click here to Skip to main content
15,890,282 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Assembler Pin
Albert Holguin17-Jan-12 3:52
professionalAlbert Holguin17-Jan-12 3:52 
GeneralRe: Assembler Pin
loctrice17-Jan-12 6:11
professionalloctrice17-Jan-12 6:11 
GeneralRe: Assembler Pin
Albert Holguin17-Jan-12 6:36
professionalAlbert Holguin17-Jan-12 6:36 
Questionphp - java socket programming help Pin
avani.d.raval10-Jan-12 19:07
avani.d.raval10-Jan-12 19:07 
AnswerRe: php - java socket programming help Pin
Mohibur Rashid11-Jan-12 16:21
professionalMohibur Rashid11-Jan-12 16:21 
QuestionPython in blender Pin
Soniya6510-Jan-12 2:23
Soniya6510-Jan-12 2:23 
AnswerRe: Python in blender Pin
Manfred Rudolf Bihy20-Jan-12 0:06
professionalManfred Rudolf Bihy20-Jan-12 0:06 
GeneralUpdate query issue, pls help Pin
jaanmaan10-Jan-12 0:32
jaanmaan10-Jan-12 0:32 
SQL
Hi, I have an update query, which is working fine. When i click on edit button, then it shows the field with content inside it, which we want to edit or update. It is working fine with <input type="text" /> but i also want it with <select> tag.

code is like this

XML
<select name='location' value="<?php echo $row['location']; ?>">
                  <option value=''> - Select - </option>
                  <option value='Anywhere' >Anywhere</option>
                  <option value='Ahmedabad' >Ahmedabad</option>
                  <option value='Bangalore' >Bangalore</option>
                  <option value='Chennai' >Chennai</option>
                  <option value='Delhi' >Delhi</option>
                  <option value='Delhi Region' >Delhi Region</option>
                  <option value='Gurgaon' >Gurgaon</option>
                  <option value='Hyderabad' >Hyderabad</option>
                  <option value='Kolkata' >Kolkata</option>
                  <option value='Mumbai' >Mumbai</option></select>




So i want whatever i city already chose, it should show on edit page, but in my case its not showing, i have to select again, if i am not selecting any city then it shows blank in the database.

Can anyone help me in this, what i do or what i have to change
GeneralRe: Update query issue, pls help Pin
Martin Mantaras10-Jan-12 0:48
Martin Mantaras10-Jan-12 0:48 
GeneralRe: Update query issue, pls help Pin
Mohibur Rashid10-Jan-12 14:06
professionalMohibur Rashid10-Jan-12 14:06 
QuestionI need help with this simple form intergration. Pin
ronsang909-Jan-12 7:05
ronsang909-Jan-12 7:05 
AnswerRe: I need help with this simple form intergration. Pin
cjoki9-Jan-12 9:42
cjoki9-Jan-12 9:42 
GeneralRe: I need help with this simple form intergration. Pin
Kevin Schaefer10-Jan-12 14:56
Kevin Schaefer10-Jan-12 14:56 
GeneralRe: I need help with this simple form intergration. Pin
cjoki11-Jan-12 7:27
cjoki11-Jan-12 7:27 
Questionpartner site login Pin
AndyInUK9-Jan-12 5:11
AndyInUK9-Jan-12 5:11 
AnswerRe: partner site login Pin
User 17164929-Jan-12 7:42
professionalUser 17164929-Jan-12 7:42 
AnswerRe: partner site login Pin
cjoki9-Jan-12 9:37
cjoki9-Jan-12 9:37 
AnswerRe: partner site login Pin
Mohibur Rashid9-Jan-12 22:37
professionalMohibur Rashid9-Jan-12 22:37 
GeneralRe: partner site login Pin
AndyInUK9-Jan-12 23:37
AndyInUK9-Jan-12 23:37 
GeneralRe: partner site login Pin
User 17164929-Jan-12 23:55
professionalUser 17164929-Jan-12 23:55 
GeneralRe: partner site login Pin
cjoki10-Jan-12 11:32
cjoki10-Jan-12 11:32 
AnswerRe: partner site login Pin
asoo16-Feb-12 12:25
asoo16-Feb-12 12:25 
QuestionGnome 3.2 Pin
loctrice6-Jan-12 18:56
professionalloctrice6-Jan-12 18:56 
AnswerRe: Gnome 3.2 Pin
Albert Holguin7-Jan-12 15:44
professionalAlbert Holguin7-Jan-12 15:44 
GeneralRe: Gnome 3.2 Pin
loctrice7-Jan-12 18:44
professionalloctrice7-Jan-12 18:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.