1,741 Posted Topics
Re: zend studio is good. But its very expensive! Free editors, umm.. You can use eclipse with php plugins ! And then there is devphp, maguma which are open source IDE's too. | |
Re: [QUOTE=sneekula;541515]Sorry about my language, but I hope she sues the crap out of that law and order jergg![/QUOTE] echo | |
Re: [quote] A.)gets to your site via a link with a target="_blank". D.)Right clicked to open your link in a new tab/window [/quote] I just tested it and it works. | |
Re: The default user for the database is root. Try giving ("localhost","root",""). That should work. | |
Re: instead, initialise $nr0 to 0 outside while loop. initialise $nr0 at the end of while loop. | |
Re: when the user logs in, put his username in the session. In all other pages, check if $_SESSION['username'] is set and not equal to null. If its null, then use header function to redirect to the login page. Eg. [code=php] //after user logs in, $_SESSION['username']=$username; // in other pages, if(! … | |
Re: [quote] echo $a."<br />"; //Note this outputs array(0, 204, 460, 586, 709, 826) in browser as desired and expected[/quote] If $a was an array, It wouldn't print anything if you give echo $a. It will give aray(). So, obviously, [quote] foreach($a as $s) { echo "Value: " . $s . … | |
Re: Welcome to Daniweb forumhound. Please post your question in [url=http://www.daniweb.com/forums/forum143.html] html and css [/url] forum ! :) | |
Re: Try out a simple example. [code=php] <?php session_start(); $_SESSION['name']="something"; echo $_SESSION['name']; ?> [/code] Tellme if that works. | |
Re: Are you starting the session in page2 ? If your answer is yes, then you need to show us your code. If your answer is no, then start the session ! :) | |
Re: Welcome to Daniweb Mathura! Post your question in java forum to get help! | |
Re: Can you explain your problem in detail ? Because I have never used reset lost password option of this site. And also, what is redirecting a user based on url in the table ? | |
Re: First of all, welcome to Daniweb. Could you please post your code here ? | |
Re: Grant privileges (using root account) to the user pma. I don't think pma have sufficient privileges. | |
Re: Notices can be ignored. Notices can be turned off by changing the error_reporting setting in your php.ini. Anyway, as ryan_vietnow has already mentioned, there are 2 ?>. And then, the } for the class UI is missing. | |
Re: Hi Nirmala. Welcome to Daniweb! Please read the guidelines and post your questions in relative forum! :) | |
Re: :) Welcome to Daniweb Sharada. One suggestion, don't get bored if you dont get the right output! If you get bored, you will lose interest. And if you lose interest, you will never get the right output ! | |
Re: When the user logs in, check if he's a valid user. If he's a valid user, add that username to a session variable. Use that session variable in the next page where you want to display his name. A small eg. [code=php] <?php //page1.php session_start(); // check if the user … | |
Re: Is it a custom message or the one from mysql ? If its a custom message, check all your scripts for this string. Check on what condition does it print this statement. | |
![]() | |
Re: Check your loops. I guess you have an infinite loop somewhere OR maybe the queries to fetch the data from the table is taking a long time. Umm.. I think the problem is with the loops! | |
Re: [quote]So you define the path to your image directory thus: define("MAIN_IMAGE_STORE","../images/");[/quote] The OP is saving the images in a table. | |
Re: 1. Line 74. You are ending a comment */. It doesn't have a matching /* . 2. [quote]function WriteOutput() { $output = '<br /><table bgcolor="#CCCCCC"><tr><td>"; [/quote] You are assigning a string to $output. It starts with a ' but ends with a ". 3. I am not sure if your … | |
The End.