HektoR Posted January 10, 2009 Share Posted January 10, 2009 hi all. i made simply for wich search data in database. but it works only in firefox? how to make that it work in all browser? Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted January 10, 2009 Share Posted January 10, 2009 Take a hammer, hit yourself on your left index finger and wait three days. Now it'll work in all browsers. Quote Link to comment Share on other sites More sharing options...
HektoR Posted January 10, 2009 Author Share Posted January 10, 2009 wow great. this is most useful answer wich i saw before. can i mark topic as solved? p.s. can enyone help me to solve this problem? Quote Link to comment Share on other sites More sharing options...
Mark Baker Posted January 10, 2009 Share Posted January 10, 2009 wow great. this is most useful answer wich i saw before. can i mark topic as solved? p.s. can enyone help me to solve this problem? It's an appropriate answer to an exceptionally vague question. You're telling us absolutely nothing about your problem other than "I've written something that doesn't work" In what way doesn't it work? That would be a starting point. What have you tried to get it to work? If you do a "view page source" in Firefox, what do you see? You give us a clue, and we'll try to help! Quote Link to comment Share on other sites More sharing options...
HektoR Posted January 10, 2009 Author Share Posted January 10, 2009 i have simply html form. and with it i get infromation from mysql database. but when i press button in opera, i does not makes enything. that's my problem Quote Link to comment Share on other sites More sharing options...
corbin Posted January 10, 2009 Share Posted January 10, 2009 You're being vague again. Can we either see code or a better explanation? Quote Link to comment Share on other sites More sharing options...
HektoR Posted January 11, 2009 Author Share Posted January 11, 2009 here is my code. <form id="form1" name="form1" method="post" action="search.php> <label>asdasda <input type="text" name="id_n" id="id_n" /> <br /> <br /> </label> <label>lastname</label> <input type="text" name="111" id="111" value"" /> <br /> <br /> <input type="submit" value="submit" /> </label> </form> in opera this for does not work. it does not goes to search.php Quote Link to comment Share on other sites More sharing options...
redarrow Posted January 11, 2009 Share Posted January 11, 2009 <form id="form1" name="form1" method="post" action="search.php> <<< here " " <<<<<<<<<,, missing. Quote Link to comment Share on other sites More sharing options...
HektoR Posted January 11, 2009 Author Share Posted January 11, 2009 ok.i add it. but it dowsn't work again in opera and IE; Quote Link to comment Share on other sites More sharing options...
HektoR Posted January 11, 2009 Author Share Posted January 11, 2009 no one can help me? Quote Link to comment Share on other sites More sharing options...
Mark Baker Posted January 11, 2009 Share Posted January 11, 2009 You also have a spurious closing </label> Don't believe that you can have an <input> embedded within a <label> And so far, this is purely an HTML issue, nothing to do with php at all Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted January 11, 2009 Share Posted January 11, 2009 You also have a spurious closing </label> Don't believe that you can have an <input> embedded within a <label> Yes you can. That's no problem at all. Here is an excerpt from the HTML 4.01 Strict DTD: <!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON"> <!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;"> <!ELEMENT LABEL - - (%inline;)* -(LABEL) -- form field label text --> Quote Link to comment Share on other sites More sharing options...
HektoR Posted January 11, 2009 Author Share Posted January 11, 2009 so what problem? Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted January 11, 2009 Share Posted January 11, 2009 Can you provide a link or perhaps better define how it "doesn't work"? Quote Link to comment Share on other sites More sharing options...
HektoR Posted January 11, 2009 Author Share Posted January 11, 2009 when i press submit button, it must goes to search.php yes? in opera ,when i press does not make nothing. that's all Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted January 13, 2009 Share Posted January 13, 2009 value="" - forgot = id or names shouldn't begin w/ # don't use <br /> use strictly css Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.