pixelhousedesign
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by pixelhousedesign
-
-
Thanks for your clarification and my apologies for my misunderstanding. I am competely lost though as to what I should do. Thanks though.
-
Thanks for your reply, I think I may not have explained fullly, because as I believe $country is a standard php function and what I needed was to use members based on a field they'll have completed (country_id)
-
Happy new year everyone!
Can someone help me please. I have a skadate script installed on a domain and want to set up sub-domains based on the users country of registration - ireland.mydomain.com, france.mydomain.com etc
I know that I can install the skadate script within subdomains and refer to the same primary database BUT what I want to do is only show say users registered in Ireland on the ireland.mydomain.com site.
Can this be done via the database connection string??
// MySQL Connection
define('DB_HOST', 'localhost');
define('DB_USER', 'user_skadate');
define('DB_PASS', 'abc123');
define('DB_NAME', 'user_skadate');
define('DB_TBL_PREFIX', 'skadate_');
This is the config.php database string.
Any advice or suggestions would be very gratefully recieved.
Defining a constant (I think!)
in PHP Coding Help
Posted
Can someone help me out, I had a guy make some great changes to a script. works perfectly - however I want to modify it further and he's unavailable till tomorrow to discuss.
Hopefully someone will be able to guide me:
define('TBL_PROFILE_COUNTRY_FILTER', '`country_id` = \'IE\'');
This line is based on users in a database from Ireland (IE) but what I need to do is make it so that this TBL_PROFILE_COUNTRY_FILTER doesnt just filter Ireland members but also those from Northern Ireland (Ni) as well.
So my question is this - can I (and if so how) - can I add Ni to this define statement.
Grateful for any guidance (php isn't my thing at all but I'm trying to pick up what I need when I need it).
Thanks again.