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? Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/ 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. Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734263 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? Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734268 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! Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734272 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 Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734274 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? Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734285 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 Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734555 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. Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734557 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; Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734566 Share on other sites More sharing options...
HektoR Posted January 11, 2009 Author Share Posted January 11, 2009 no one can help me? Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734608 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 Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734609 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 --> Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734611 Share on other sites More sharing options...
HektoR Posted January 11, 2009 Author Share Posted January 11, 2009 so what problem? Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734650 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"? Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734653 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 Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-734667 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 Link to comment https://forums.phpfreaks.com/topic/140321-opera-vs-firefox/#findComment-735825 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.