try another color scheme:


Go Back   TECH6.0 > Web Design/Development and SEO > Website Development


Building a Real Estate site in PHP

This is a discussion on Building a Real Estate site in PHP within the Website Development section, part of the Web Design/Development and SEO category; I'm thinking of making the primary key in properties table (property_ID) related to customer_property (in customers table). so that when ...

Reply
 
LinkBack Thread Tools Display Modes
  #21  
Old 16-10-2008, 07:31 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

I'm thinking of making the primary key in properties table (property_ID) related to customer_property (in customers table). so that when i add a customer it will ask me to add a property to it. do you think this will work?

what concern me is what if the customer have 2 properties?
__________________
my site: www.cashrez.com
Reply With Quote
  #22  
Old 16-10-2008, 07:49 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

hello can u tell me what did i do wrong here ?

Code:
<td style="background-image: url("http://project.casherz.com/images/linkbar.png"); background-repeat: repeat-x" height="23" colspan="2"><a href="http://project.casherz.com">Home</a></td>

__________________
my site: www.cashrez.com
Reply With Quote
  #23  
Old 16-10-2008, 08:02 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

Cant figure it out at a glance, what is the problem you're having with the code ?

1. I think you're missing a ; after repeat-x
2. And try removing the double quotation marks from the image URL.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #24  
Old 16-10-2008, 08:16 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

hmm still not working, I'm trying to make the image "http://project.casherz.com/images/linkbar.png" to show as a navbar and enter links in it

please help
__________________
my site: www.cashrez.com
Reply With Quote
  #25  
Old 16-10-2008, 08:37 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

Why not create an external stylesheet for your website and store all your most commonly used CSS there.

And for the navbar, use CSS like this:-
HTML Code:
.navbar
{
background: #6495ED url(http://project.casherz.com/images/linkbar.png) repeat-x top left;
color: #FFFFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
and then simply insert links in this manner:-

HTML Code:
<table>
<tr><td class="navbar">
<a href="http://project.casherz.com">Home</a>&nbsp;|&nbsp;		
<a href="http://www.tech555.com/forum/usercp/">User CP</a>&nbsp;|&nbsp;
</td><tr><table> 
This is the best way you can create your navbar. Simply add up the links within the <td>
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #26  
Old 16-10-2008, 08:54 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

thanks for the help
__________________
my site: www.cashrez.com
Reply With Quote
  #27  
Old 16-10-2008, 09:00 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

Code:
.navbar
{
background: #6495ED url(http://project.casherz.com/images/linkbar.png) repeat-x top left;
color: #FFFFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
text-align: center;

}
the text alignment is not working check it out

project.casherz.com
__________________
my site: www.cashrez.com
Reply With Quote
  #28  
Old 16-10-2008, 09:40 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

center align the table then

HTML Code:
<table align="center"> 
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #29  
Old 21-10-2008, 04:36 PM
No Avatar

Techie
 
Join Date: Aug 2008
Posts: 52
UaECasher is on a distinguished road
Default

ok bro, any ideas how to make only a certain number of properties show on one page and the rest will be added on a new page, just like the no. of posts in each page
__________________
my site: www.cashrez.com
Reply With Quote
  #30  
Old 21-10-2008, 04:47 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

It is acheived via LIMIT clause.

Your query would be something like this:-

PHP Code:
$perpage 8;
"SELECT * FROM mytable ORDER BY `uid` DESC LIMIT $perpage"
Replace 8 with number of records to show per page. You'll have to create some kind of pagination system to show the next set of records. You can get some idea about pagination from a tutorial at vborg.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #31  
Old 13-08-2010, 12:15 PM
No Avatar

Techie
 
Join Date: Aug 2010
Posts: 31
resumedocket is on a distinguished road
Default

You would require atleast the property table and the user table.
Reply With Quote
  #32  
Old 17-08-2010, 09:21 AM
No Avatar

Learner
 
Join Date: Aug 2010
Posts: 1
moxet is on a distinguished road
Default

If You Use Open Reality You Can Do This By Single Click..
Reply With Quote
  #33  
Old 19-11-2010, 11:44 AM
Ennie's Avatar

Learner
 
Join Date: Nov 2010
Posts: 2
Ennie is on a distinguished road
Default

I think your question is about how to create the database table for your website. First you should create a class diagram for object in your project. Then you can translate those classes into database entity. This the standard way what we used in project.
Reply With Quote
  #34  
Old 13-12-2010, 11:00 AM
No Avatar

Learner
 
Join Date: Dec 2010
Posts: 5
DIXON.CARRY is on a distinguished road
Default

Thinking of making the primary key in properties table (property_ID) related to customer_property (in customers table). so that when ...
Reply With Quote
  #35  
Old 21-03-2011, 04:16 PM
No Avatar

Techie
 
Join Date: Mar 2011
Posts: 26
sidharthbanyal is on a distinguished road
Default

To make relationship between table you need to learn concept of foreign Key.
Foreign key is one which links one table to another table. It should be primary key in another table.

e.g.

I have a table Employee it contains information regarding Employee Designation.
structure is like this:

EMPDESGNO
EMPDESG


Another table to which i want to relate this table is Employee

EMPNO
EMPNAME
EMPDESG

Then EMPDESG in second table can relate to Designation available in first table and will contain values from EMPDESNO.

YOu can then later join them in queries for reterival of data.
Reply With Quote
  #36  
Old 14-09-2011, 11:30 AM
No Avatar

Learner
 
Join Date: Sep 2011
Posts: 13
mydiscoutlet is on a distinguished road
Default

Even I plan to make a project in PHP but I don't have much idea about the language though I have heard it is quite interesting. I am into learning it now days.
__________________
laptop repair
Reply With Quote
  #37  
Old 18-10-2011, 03:02 PM
No Avatar

Learner
 
Join Date: Oct 2011
Posts: 24
newsky is on a distinguished road
Default

Real Estate websites have this basic content:

(Alphabetized, none-the-less!)

Address
Basement type
Basement finished %
Bathrooms
1/2 Bathrooms
Bedrooms
Brochure (PDF)
Car Storage Type
# of Car Storage
City
Construction Type
County
Country
Latitude
Longitude
Lot Size
MLS #
Neighborhood Name & Website
HOA Fees
HOA Includes
Price
Roofing Materials
Schools
High School Name & Website
Middle School Name & Website
Elementary School Name & Website
Status of Listing (Sold/Under Construction/Pending/Active)
Square Feet
Taxes
Utilities (Avg.)
Year Built
Zip Code
__________________
quang cao nha dat
Reply With Quote
Reply

Bookmarks

Tags
estate, real


Thread Tools
Display Modes




All times are GMT +5.5. The time now is 03:22 PM.

Contact Us - Tech6.com - Link to Us - Advertise - Submit Site - Privacy Statement - TOS - Top