SGUserFace Posted August 4, 2016 Share Posted August 4, 2016 I have this code, but the header (in php) doesn't work because there is 2 tabs (I checked all the files and lines) but like this the header works and I cant write more lines Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/ Share on other sites More sharing options...
Jacques1 Posted August 4, 2016 Share Posted August 4, 2016 (edited) Post the code as text, not as a bunch of short-lived screenshots hosted on some external site. Your previous thread is now completely worthless, because your stupid image hoster has taken the picture offline. Edited August 4, 2016 by Jacques1 Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535631 Share on other sites More sharing options...
SGUserFace Posted August 4, 2016 Author Share Posted August 4, 2016 (edited) First <section id="Register"> <h3>Register</h3> <form method="post"> <input type="email" name="Email" placeholder="Email" required style="display: block; width:100%; height: 20px; margin-bottom: 10px;" /> <input type="submit" name="Register" value="Register" style="display: block; margin-bottom: 10px;" /> <label for="GoLogIn">LogIn</label> </form> </section> Second <section id="Register"> <h3>Register</h3> <form method="post"> <input type="email" name="Email" placeholder="Email" required style="display: block; width:100%; height: 20px; margin-bottom: 10px;" /> <input type="submit" name="Register" value="Register" style="display: block; margin-bottom: 10px;" /> <label for="GoLogIn">LogIn</label> </form> </section> Edited August 4, 2016 by SGUserFace Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535633 Share on other sites More sharing options...
Jacques1 Posted August 4, 2016 Share Posted August 4, 2016 OK, and how does the first HTML fragment “not work”? What makes you think that? Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535634 Share on other sites More sharing options...
SGUserFace Posted August 4, 2016 Author Share Posted August 4, 2016 OK, and how does the first HTML fragment “not work”? What makes you think that? I checked all the lines Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535635 Share on other sites More sharing options...
Jacques1 Posted August 5, 2016 Share Posted August 5, 2016 Cool. Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535641 Share on other sites More sharing options...
SGUserFace Posted August 5, 2016 Author Share Posted August 5, 2016 Cool. Have a solution? Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535657 Share on other sites More sharing options...
Jacques1 Posted August 5, 2016 Share Posted August 5, 2016 42 Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535658 Share on other sites More sharing options...
SGUserFace Posted August 5, 2016 Author Share Posted August 5, 2016 42 i didn't understand Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535659 Share on other sites More sharing options...
Jacques1 Posted August 5, 2016 Share Posted August 5, 2016 Let me be honest with you: I think programming just isn't for you. I've read several of your threads in different forums, and you've never made any progress. You cannot ask questions, you cannot talk about problems, you cannot learn. In the end, it's always “I don't understand”. I think your only chance is to find somebody who literally sits down with you and shows you what you need to do. Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535660 Share on other sites More sharing options...
Barand Posted August 5, 2016 Share Posted August 5, 2016 i didn't understand see https://en.wikipedia.org/wiki/Phrases_from_The_Hitchhiker%27s_Guide_to_the_Galaxy#Answer_to_the_Ultimate_Question_of_Life.2C_the_Universe.2C_and_Everything_.2842.29 Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535665 Share on other sites More sharing options...
ginerjm Posted August 5, 2016 Share Posted August 5, 2016 You check all the lines? What does that mean? In order to know if something doesn't work you actually have to execute it. As for your html, where did you learn this? You have a label tag linked to a field that doesn't exist. What's the point? Your style on the first input element - why is the width set to 100%? You want that field to fill the page width? I'm not aware of your previous postings, but just looking at this one makes me wonder what your background is. Quote Link to comment https://forums.phpfreaks.com/topic/301763-header-doesnt-work/#findComment-1535673 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.