Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6996113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:06:54+00:00 2026-05-27T20:06:54+00:00

Ok, this is my confusing problem……In each of my client record info pages I

  • 0

Ok, this is my confusing problem……In each of my client record info pages I have a dynamic list of email templates that are generated with a foreach peace of php code. When I am viewing a client record I can click an email template and the details of the current client are then loaded into a session.

Each email template in the list is dynamically wrapped in an tag and links to a email template loader.

The ID of the email template is part of the url as token=echo ID, so if I am viewing a client, I click an email template from the list and the email template loader loads the template into form fields using the ID in the url, plus also pulls in the client info from the session data.

When the send button is pressed, the completed form fields are then emailed.

The problem I have is in the view client page, next to each one of the dynamic template links needs to be the last time the client was emailed.

The problem I have is….each time a client is emailed with a template, the email is dynamically created from the merging of the template and the client info so I need to create something to connect the two that can be echo’d out at any time as a date, im not sure if its possible to create a unique id for the two to represent the two records as a whole, the thing is it would have to stay the same for that pair, so if I came back in 6 months and emailed them again, the record would be updated and not re created, records to connect the other templates with other clients etc would also be needed, so im a bit consused.

Im not sure if there is an easier way of doing this, whether it can be done easier with jquery, e.g when the template is clicked, the user id and template id are logged.

This is the view client page :

demo1
This is the form the info is loaded into :
demo2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:06:54+00:00Added an answer on May 27, 2026 at 8:06 pm

    It’s possible to create a unique id in PHP at runtime using uniqid

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a really confusing problem. I have a PHP script that polls another
I have this problem of confusing when to include the entire object as a
This problem is confusing me. I have a tree, and I want to write
This sounds confusing but isn't. Here is the problem: application is hosted at www.site.com/app
I hope I can explain this problem right, it's a bit confusing for me.
I know the title is somewhat confusing, my problem is this: I want to
This is confusing me, so this question will probably be confusing. I have a
I know this sounds confusing: I have just built some basic prev/next pagination for
I have a very confusing problem, and I am able to solve it, but
I have a confusing problem in my code, in which one object gets initialized

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.