1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

my data does not display to the others

Discussion in 'PHP' started by abosirage, Aug 3, 2010.

  1. abosirage

    abosirage Member

    Joined:
    Jul 29, 2010
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Occupation:
    IT
    Location:
    Tripoli-Libya
    hi gays
    this is second time I post my problem I will try to clear my request maybe I found the solution for it .

    please help me to solve my problem am sending variables by post method from form in php page to another php page when submit form next page show all data in table is ok but my data does not display to the others and show empty table instate how I coud let the data display to the other thanks for your help
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    If your data shows for one person it should show for all if they also submit the data
     
  3. abosirage

    abosirage Member

    Joined:
    Jul 29, 2010
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Occupation:
    IT
    Location:
    Tripoli-Libya
    dear shabbir
    thank you very much for your replay but let me clear myselve more I fill the first page using post method then I submit the browser transfer me to target page were the data transferred in table quite good but when the other try to visit my page found nothing the table empty maybe I have to add somthing more to my code or use other method to send data from page to other to keep data display to all
    please think with me & help me
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    First you have to understand the concept.

    You are passing data from one page to other like this post which is being passed from one page to other.

    Next thing you should do is store the passed information into some database or even files on your server.

    After you have done that you can show that data to users like this post and threads.
     
  5. abosirage

    abosirage Member

    Joined:
    Jul 29, 2010
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Occupation:
    IT
    Location:
    Tripoli-Libya
    dear shabbir
    I thought that could be done without database I was wrong now you mean that first page write to text file & the second read from it quite good but how can I do it

    please help with more detail if it possible

    with regards
     
  6. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    Check out file read write and that should do the job for you
     
  7. abosirage

    abosirage Member

    Joined:
    Jul 29, 2010
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Occupation:
    IT
    Location:
    Tripoli-Libya
    dear shabbir
    thank very much for you time & explanation
     
  8. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    The pleasure is all mine.
     

Share This Page