Hey guys.
Can we auto-populate the domain and certificates data taken from the clients db, client_website.
For instance, when i`m adding a new client, the domain with the SSL should be fetched and added to domains as well to SSL certificates section from the client_website
i got stuck to line 80 statement. I suppose the SQL statement addition looks fine, but dont know how to do the echo part 😃
<?php
$domains_sql = mysqli_query($mysqli, "SELECT * FROM domains LEFT JOIN clients ON client_website = '$client_id' WHERE domain_client_id = '$client_id'");
while($domain_row = mysqli_fetch_array($domains_sql)){
$domain_id = $domain_row['domain_id'];
$domain_name = $domain_row['domain_name'];
$client_website = $domain_row['client_website']
echo "<option value=\\"$domain_id\\">$domain_name</option>";
Thank you!