Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Abid H
What is the best way to call unset() function to do 'Sign Out' in PHP page.?
I am little confused how should I call unset() function to sign the user out of the site.
Cheers
2 AnswersProgramming & Design1 decade agoPHP: redirect to the page user started login process?
I have many pages in my site. If user is not logged in, every page has a link asking user to log in. When user clicks that link, he goes to login.php page. What I want is that when user successfully signs in, he should be redirected to the page on which he clicked 'sign in' link, so that he can continue what he was doing.
Thanks for help. Hope your answer would be selected best if it solves my problem.
Cheers
3 AnswersProgramming & Design1 decade agoPHP Help, Plz. (Header set)?
While creating login page for my website, when I try to redirect my user to some page after successful login, I get this error:
Warning: Cannot modify header information - headers already sent by (output started at X:\somepath\common\db.php:20) in X:\common\member\login.php on line 64
Can someone help plz.
1 AnswerProgramming & Design1 decade agomySQL help? ( Database Design)?
Which data base type should I use to store lengthy text of an article in database. I tried TEXT and LONGTEXT but they didn't work out.
2 AnswersProgramming & Design1 decade agoMySQL and PHP Problem!!!?
Users of my website submit Articles, with many paragraphs. When I retrieve them using simpe SELECT query, they come without paragraph formating. Can someone tell me the fuction in PHP/MySQL to retrieve them in paragraph?
3 AnswersProgramming & Design1 decade agoNewbie: Can Someone write a simple code in PHP for mySQL database table to retreive the latest entry in it?
Database table is JOKE. Website users submit jokes and the latest joke is displayed on first page of the site.
3 AnswersProgramming & Design1 decade agoIn php, How Can I retrieve data from mySQL and display more than one fields of a table in database?
I have a table 'JOKE' in database having fields 'Title' and 'Detail' . I want to display both of these fields in my php page. can someone help me plz.
Regards,
3 AnswersProgramming & Design1 decade agoHow to change mySQL Database type from InnoDB to MyISAM?
I made database for my website with type (or you can say using engine) InnoDB. My host doesn't support InnoDB but does MyISAM. Can someone tell how I can change from InnoDB to MyISAM on my local machine.
1 AnswerProgramming & Design1 decade agoWorking with mySQL, why this error come? Error: "You have an error in your SQL syntax. Check the manual ..."
"You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'user(UserID, Password, Email) VALUES(" This error comes when i want to insert values in a database table called user.
4 AnswersProgramming & Design1 decade agohow to upload mySQL database to my webhost? At my machine, mySQL uses innodb engine, which is disabled on host
Error comes when I try to upload through export import and it reaches at '' TYPE = InnoDB;"
2 AnswersProgramming & Design1 decade agoI want to store datetime in mySQL database table through PHP. Error "Call to undefined function NOW()".
Do I need to declare something before I can use NOW() function?
5 AnswersProgramming & Design1 decade agoI want to place some items on my website and want useres to rate them? how can i save this rating in database?
Actually i am building a database. I want to store rating for an item, for example a moblie which has a table called Mobile with primary key mobileID. and i do want my users to rate that item in my website. shud i create another table to store rating for each item?
3 AnswersProgramming & Design1 decade ago