Jump to content
php.lv forumi

Sludinājuma portāla datubāzes selekti


test2

Recommended Posts

  • Replies 34
  • Created
  • Last Reply

Top Posters In This Topic

Sākums ir OK, tikai vajag vēl šīs lietas:

 

Pie tabulas "classifieds_attributes" jauns lauks "attribute_data_type", kurš norāda datu tipu (int, string, text, bool, ...) Un "classifieds_values" lauks "attribute_value" iet ārā, tā vietā attiecīgi saliec "attribute_value_int", "attribute_value_string", ...

 

Atkarībā no classifieds_attributes.attribute_data_type selektē vajadzīgo attribute_value_* lauku.

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...