Personal Debt Solutions Canada -

Explore PDSC by Topic

Retrieving trustee information for $province by city:



"; $cityquery = "select distinct city from find_a_trustee where province = '$province' order by city"; $cityquery2 = mysql_query($cityquery) or die(mysql_error()); while ($cityquery3 = mysql_fetch_array($cityquery2)) { $count++; $count2++; $cities = $cityquery3['city']; if ($count2 == "1") { echo ""; } echo ""; if ($count2 == "5") { echo ""; $count2 = 0; } } if ($count == "0") { echo "We are currently looking for new team members in the $province area. If you would like to become our newest member, please Email Us."; } echo "
$cities
"; } ?> Displaying Trustees in $citypicked, $province:

"; ?> "; $user_login = $trusquery3['username']; $userquery = "select ID from wp_users where user_login = '$user_login'"; $userquery2 = mysql_query($userquery) or die(mysql_error()); $userquery3 = mysql_fetch_array($userquery2); $user = $userquery3['ID']; $query = "select value from wp_cimy_uef_data where (USER_ID = '$user') and (FIELD_ID = '13')"; $query2 = mysql_query($query) or die(mysql_error()); $query3 = mysql_fetch_array($query2); $creds = $query3[value]; $query = "select meta_value from wp_usermeta where (user_id = '$user') and (meta_key = 'first_name')"; $query2 = mysql_query($query) or die(mysql_error()); $query3 = mysql_fetch_array($query2); $firstname = $query3[meta_value]; $query = "select meta_value from wp_usermeta where (user_id = '$user') and (meta_key = 'last_name')"; $query2 = mysql_query($query) or die(mysql_error()); $query3 = mysql_fetch_array($query2); $lastname = $query3[meta_value]; echo "

$firstname $lastname, $creds

"; $query = "select meta_value from wp_usermeta where (user_id = '$user') and (meta_key = 'simple_local_avatar')"; $query2 = mysql_query($query) or die(mysql_error()); $query3 = mysql_fetch_array($query2); $meta_value = $query3[meta_value]; $array = explode('"',$meta_value); $avatar = $array[3]; if ($avatar) { echo "
"; } echo "

$firstname is a bankruptcy trustee who services $citypicked, $province.

"; echo "

Visit $firstname" . "'s member page.

"; $query = "select * from wp_users where (ID = '$user')"; $query2 = mysql_query($query) or die(mysql_error()); $query3 = mysql_fetch_array($query2); $email = $query3[user_email]; //I need this so if there are more than one trustee for a town I can use the arrays to let the client pick who to send to. $name_array[$trustee_count] = "$firstname $lastname"; $email_array[$trustee_count] = $email; $trustee_count++; echo "
"; } ?>

Get Started Today!

Please fill out the information below. A licensed professional will review your information and contact you within one business day to discuss your options. Your information is confidential and we do not use it for any other purpose other than to help you evaluate your options.

"1") { ?>
Send your Quick Evaluation to which Trustee:

Your Name (Required):
Your E-mail (Required):
Phone (Required):

Additional Comments

Fill out Additional Application Information

Please type the code you see on the image below (Required):


Security Code



Select by Province or Territory

| Alberta | British Columbia | Manitoba | New Brunswick | Newfoundland and Labrador | Nova Scotia |
| Ontario | Prince Edward Island | Quebec | Saskatchewan | Northwest Territories | Nunavut | Yukon |