hi anbu
It is very hard for anyone to help you out with ideas. First tell which database you are using and tell us which part you're getting the issue. This is because, faster access to database relies on database which you use also. You will troubleshoot issues yourself, when you try to play with queries.
Good luck,
VJ
User Profile
Collapse
-
heya Atli,
I dont want to change the ID number of an employee each an everytime. When we insert a new data, it gets inserted to the bottom of the table. I want it to get inserted at the top of the table. So, whatever the new data I insert, that should be the in the first position of the table. Is it possible??
Thanks,
VJ.Leave a comment:
-
how to insert data in the first column of a table in MySQL
Hello friends!!
I have a question..
Let me have a table which consists the details of 5 employees, starting from employee id 1 to 5 as given below.
emp_id fname ... .... address
1 john ... ... ...
2
.
.
.
5 Shiva ............... .
What should I do if I want to include a data in the position of employee john so that the series... -
-
how to create a html page programatically using PHP
Hello friends,
I wish to create a new HTML page, using a PHP coding. The name of the HTML page should be of user's wish. Someone please help me doing it.
Thanks a million,
VJ -
One can use $_GET or $_REQUEST method to pass a variable and the suggestions given by our forum friends are very correct. But, I insist to store the variable in a session variable and make the session alive until you are done with your job. Once your job is done, you can unset the session variable. You cannot send data through URL, which you wanted to be encrypted, since, data sent are visible in the address bar. I reckon this piece of information...Leave a comment:
-
Thank You Pal.. It works perfectly..
Again Thanks a million..
VJLeave a comment:
-
Please tell me how to check for the condition in stateChanged function.
thanks,
VJLeave a comment:
-
retrive values from another PHP page using AJAX
Hello friends!!
My program goes like this..
I have a page where user id and password are entered.
When they click submit button(input type is not submit), it goes to Javascript and sends AJAX request for another PHP page and checks whether those userid and password exists are not.
Javascript coding:
[CODE=javascript]var url="abc.php";
url=url+"?id="+ str.username.va lue;... -
-
header functions doesn't work with Opera Why?
Hello friends!!
I am having an issue.
I tried to remove the data cached in a page using the below header() functions.
Code:
[code=php]header("Cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0");
Header("Pragma" , "No-cache");
if ($_SESSION["base"] != "1") /* where the value for base assigned in previous page.*/... -
how to make the previous page unavailable to the users
Hello friends!!
Hope someone will fix this issue for me..
I am making a web page in PHP, in which users will enter into their login and do manupulations. After they click logout, the go to the logout page. Here, when they click the back button of the browser, they go to the previous page where they enter the data which should not be shown to anyone else. If this is the case, anyone can see the data that are encrypted and stored in the... -
-
how to retain the values when the page is refreshed
Hello friends,
I am having a big time problem.
I have a list of textboxes, radios, etc., in a login page for the user to enter his/her data. I have two drop downs, in which the second one is populated according to the first one's choice. I used javascript onchange function to do this.
Later in the Js, I get the selected value and pass it to PHP again so that the second dropdown is populated accoding to the first choice.
... -
It works. I was wasting my time without knowing about register_global concept. Thanks a million.
VJLeave a comment:
-
Can't insert and retrive session_id into mysql database
Hello PHP veterans,
I am new to PHP. I tried to insert the session id of a user into the database table.
code:
[code=php]$xyz = "insert into table_name values(' ', '$[COOKIE]PHPSESSID', ...)";
[/code]
The issue is, when I check the session id value in mysql, I could find the word $[COOKIE]PHPSESSID instead of having the 32 lettered session id. I tried removing the quotes and it wasn't fruitful.
...
No activity results to display
Show More
Leave a comment: