Notice: Undefined index: user_id in /home/staffi7/wm.staff-india.com/inc/header.php on line 69

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/staffi7/wm.staff-india.com/inc/header.php on line 73

Error: Could not retrieve Internal Task details.

HR Manager | Staff-India

Notice: Undefined index: user_id in /home/staffi7/wm.staff-india.com/inc/top_nav.php on line 5

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/staffi7/wm.staff-india.com/inc/top_nav.php on line 9

Error: Could not retrieve Internal Task details.

Task Details

URGENT small task - REF value

Assigned To:
  1. Scott (scott.ih@staff-india.com)
Assign By Admin On 2022-06-06
100%
Deadline:- 761 Days Over from Deadline. You Have Missed The Deadline 761 Days Ago

Task Details :-

Hi scott,

 

When saving teh form data, you need to save teh REFerrer data as well.

you need to do this:

 

1. when a user is coming to the website, check the URL to check what is the "Ref=" value.

e.g www.financialmarkets.club/?Ref=Rob

 

2. save this Ref value in a cookie whilst teh user is browsing. Cookie duration = 30 days only.

 

3. when teh user submit the form - CHECK the cookie for Ref value - if this exists then save the value to the database table colum called "Referrer".

Task Current Status :-

Task Complete

Sub Task(s):

No Sub-task Added.

Task QA

Selected File:
Drag Your File Here
Or Click Here to pick

Comments  (1)

    Scott 03-06-2022 22:45:43

    Hi Rob

    Good Day. Hope you are well.

    I hgave added this code and set the time to 30days. So if there is any cookie with Ref then during form submission it'll add the reference else will keep the field to NULL.

    Thank you


    Download