ok, so i am writing a program for my client.
i have a thing where they can view all of their clients.
I have it listed where their clients names are listed.
How do i make it so when they click on thir clients names, it calls their id from the members table?
tcollins412
0
Junior Poster
Recommended Answers
Jump to Postif you are listing all clients names from members table then pass member table id as parameter in java script on click function, which is not difficult.
like<a href="javascript:showuser('<?php=$clicnt_id;?>');"><?php=$client_name;?></a>
The
$client_id
and$client_name
are the variables contains proper values fetched from database table.…
All 4 Replies
Shanti C
106
Posting Virtuoso
lyrico
23
Junior Poster in Training
tcollins412
0
Junior Poster
lyrico
23
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.