Jump to content

fastsol

Moderators
  • Posts

    827
  • Joined

  • Last visited

  • Days Won

    9

Community Answers

  1. fastsol's post in Can you tell me how can I create a dynamic dropdown like this? was marked as the answer   
    This is also known as Chained Select Boxes.  Have you googled it at all? There are tons of tutorials on the subject.  The jquery is pretty straight forward for basic usage.
  2. fastsol's post in emailing uploaded files links was marked as the answer   
    In this block
    else{ // No error found! Move uploaded files if(move_uploaded_file($_FILES["files"]["tmp_name"][$f], $path.$name)) $count++; // Number of successfully uploaded file } Add {} to your if(), then make an array to store all the $path.$name that are moved.  Then below use a foreach to build an actual full path link to each file and insert it into the email where you want.
    $moved_files = array(); else{ // No error found! Move uploaded files if(move_uploaded_file($_FILES["files"]["tmp_name"][$f], $path.$name)) { $count++; // Number of successfully uploaded file $moved_files[] = $path.$name; } } $full_paths = ''; $domain_path = 'http://domain.com/'; foreach($moved_files as $m) { $full_paths .= $domain_path.$m."\n\n"; } $message = "Please find below links to file transfer from : " . $from . "(" . $from_email . ") \n\n The following message was included with the files : " . $comment . "\n\n Links here : " . $full_paths . "\n\n Regards Adlantic Team "; That should get you started.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.