what would be a good example of a php dynamic code to display contents of textarea?

Daniel,
To clarify. You have acf installed, and in acf you have created a field group that shows up on pages and in that field group you have a text area called ‘textarea’?

Then when you edit a page under the content editor you have a the ‘textarea’ field. You enter your script here. On the two pages in quesion each has a script and you want when someone goes to www.example.com/standard or www.example/fpa, they will see ONLY the script that was entered into the page edit screen of the page that the user is viewing?

If this is the case the code is here:

if (get_field('textarea')) {  //checks if there is content in the field 'textarea'
   echo get_field('textarea'); //if there is, displays the content of the field
}

This will only render the textarea field for the page that is being viewed.

if indeed those pages are using the page-warranty-registration.php file then put this code there and it will show the field if there is content in the field.

Based on your comment:

if (get_field('sharpspring_code')) {  //checks if there is content in the field 'textarea'
   echo get_field('sharpspring_code'); //if there is, displays the content of the field
}

I would still add the conditional because if some other pages don’t have this code entered you will get a php error.

whether you use echo get_field() or the_field() is particular to coding and in this case either will work.