Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By nishitdas on
An user is at my site Mysite.com/exam/mathematics.htm , After clicking on a link (say test-1) another page will open – which is not a part of drupal system but with in the same domain. Now after completing the exam on test-1 , I would like to take the user results to my database with the user id.. So is there any way in this situation I can get the user id from that external page
Comments
just some suggestion
Maybe by creating a very simple form. Instead of using a link, create a basic (non-Drupal) form with a submit input element.
In that form, send the user id, that you can get with :
Make that value a hidden input...
I guess the page where you send the user is just plain html though...
Caroline
Who am I | Where are we
11 heavens
Thanks I will try this
Thanks
I will try this