I have a table for neighborhoods with a name and an id
Also have a table for assets, each asset have a neighborhood_id
Asset model => belongs to neighborhood
Neighborhood model => has many assets
I have a page where I list all assets, and a search form to find
assets by selecting from a list of neighborhoods.
The list of neighborhoods is taken from the neighborhoods table
I have a table for neighborhoods with a name and an id
Also have a table for assets, each asset have a neighborhood_id
Asset model => belongs to neighborhood
Neighborhood model => has many assets
I have a page where I list all assets, and a search form to find
assets by selecting from a list of neighborhoods.
The list of neighborhoods is taken from the neighborhoods table
Important programming tip: All editors ship with tabs turned on, and all programmers should never ever use tabs. They are a legacy of programming's infancy, and of editors that cannot smartly indent and unindent code!
Important programming tip: All editors ship with tabs turned on, and all
programmers should never ever use tabs. They are a legacy of
programming's
infancy, and of editors that cannot smartly indent and unindent code!
--
Phlip
Oh, puhlease don't start this. There is, in my opinion, no more
worthless argument than about tabs versus spaces.