needphphelp2 Posted October 19, 2008 Share Posted October 19, 2008 Hello All, I am currently working on a website for a real estate company. I am trying to put a login area on the page right next to a flash picture. This site is designed using tables. Now this method worked for the index.html page, but doesn't work for the index.php page. To get a better example, here is the site. html version: http://caribbeancribs.ecojobsource.com php version: http://caribbeancribs.ecojobsource.com/index.php Can anyone tell me why it is different and if there is a solution offered, please let me know. Thanks. newbie ??? ??? Quote Link to comment Share on other sites More sharing options...
Psycho Posted October 19, 2008 Share Posted October 19, 2008 A PHP page creates HTML code. So, if the two pages are different it is because the PHP page was coded such that the generated HTML is different. You need to find out where that difference is and fix it. I would start by simply viewing the source of both rendered pages and look for the differences (there are even applications that will do this for you). Quote Link to comment Share on other sites More sharing options...
Bendude14 Posted October 19, 2008 Share Posted October 19, 2008 well its not like you have just changed the extension of the file to make this change. The pages are using different images and have different coding. Like your .php page has a a div around the container setting margins? maybe thats the issue. Also I would recommend designing the site using CSS rather than tables. You should be able to find a free layout similar to what you are after. Can i ask why you need Two login forms? One for buyers and one for sellers. Could you not just use one form and redirect to the correct place depending on what info you retrieve about them from the DB? Quote Link to comment Share on other sites More sharing options...
needphphelp2 Posted October 19, 2008 Author Share Posted October 19, 2008 Thank you guys for your replies. mndamato, you point me to the php.net site, but where exactly is it you want me to go? Also, Bendude14, that is what the client asked for. I would redesign the whole thing, but I don't have time now. Plus, this is a template that was purchased. Hopefully, more solutions come along. Thanks to those that replied. newbie Quote Link to comment Share on other sites More sharing options...
DarkWater Posted October 19, 2008 Share Posted October 19, 2008 Thank you guys for your replies. mndamato, you point me to the php.net site, but where exactly is it you want me to go? Also, Bendude14, that is what the client asked for. I would redesign the whole thing, but I don't have time now. Plus, this is a template that was purchased. Hopefully, more solutions come along. Thanks to those that replied. newbie You paid for that template? o_O Ouch. Quote Link to comment Share on other sites More sharing options...
needphphelp2 Posted October 20, 2008 Author Share Posted October 20, 2008 no not me, they did Quote Link to comment Share on other sites More sharing options...
Psycho Posted October 20, 2008 Share Posted October 20, 2008 mndamato, you point me to the php.net site, but where exactly is it you want me to go? You are looking at my sig which states "In 99% of all cases I found the solution to your problem here: http://www.php.net". Which just means that most peoples solutions can be found by reading the manual. That was not a specific reply to your problem. Quote Link to comment Share on other sites More sharing options...
redarrow Posted October 20, 2008 Share Posted October 20, 2008 can i no what the point you can use a iframe in html with php added commands......... <IFRAME SRC="hello.html" WIDTH=450 HEIGHT=100> If you can see this, your browser doesn't understand IFRAME. However, we'll still <A HREF="hello.html">link</A> you to the file. </IFRAME> remember the .php is lower then a .html in a search engine....... 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.