Jump to content

php vs. html


needphphelp2

Recommended Posts

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 ??? ???

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.......

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.