-
Began Watching PHP to Excel
Hi , I need your help to export data from mysql to Excel using PHP -
Replied To a Post in PHP to Excel
PHPExcel site is [here](http://phpexcel.codeplex.com/), documentation is [here](https://github.com/PHPOffice/PHPExcel/wiki/User%20Documentation%20Overview%20and%20Quickstart%20Guide). Great library, I have used it many times. -
Began Watching help with OOP
Hello guys, i'm trying to show the full name of my user what is logged in. I am new to writing in oop. Im getting a undifined index fullname error. … -
Replied To a Post in help with OOP
Try : echo $user_data[0]['fullname']; since fetchAll returns a set of all the rows (only one in your case). -
Began Watching calling public php function in javascript
Hello guys i wrote an public function to create a project, but i need to call it in my javascript file. How can i do this. this is the public … -
Replied To a Post in calling public php function in javascript
You could use jquery ajax [post](http://api.jquery.com/jQuery.post/) method. The data for the post would be all the parameters, that are needed for the public function. The page won't refresh but you … -
Began Watching Element will not disappear and reappear until done manually the first time.
What should happen is when i click the log in button, the container for the log in form should become hidden and the sidebar, search bar, tiles and log out … -
Replied To a Post in Element will not disappear and reappear until done manually the first time.
Or use more jquery-like approach, where you catch onclick event in jquery: <button type="button" class="btn-login" id="btn-login">Login</button> ... <script> $("#btn-login").on("click", function() { toggle_visibility('foo'); toggle_visibility('sidebar'); toggle_visibility('tiles'); toggle_visibility('wsf') }); </script> </body> -
Replied To a Post in click button add and remove select box using jquery and ajax & php
Please show code you have so far. It is hard to guess without seeing it. In general in jquery you use [show](http://api.jquery.com/show/) and [hide](http://api.jquery.com/hide/) methods. The elements have to have … -
Stopped Watching mysqli_insert_id in a text field
Hello everyone. I have the following problem get the last id from the database but you can not insert a text field, the last id has, solution? pls pls <? … -
Began Watching click button add and remove select box using jquery and ajax & php
Please help me how to do click button to display select box. at the same time add and remove select box -
Replied To a Post in click button add and remove select box using jquery and ajax & php
Are you using jquery or pure javascript? -
Began Watching How to Reload a PHP function in a div using jquery
Please how do I reload a PHP function in a div using jquery? Any idea? -
Replied To a Post in How to Reload a PHP function in a div using jquery
http://api.jquery.com/jquery.ajax/ You might have to do a bit of learning if you are not familiar with Ajax. -
Stopped Watching analyzing information from selected checked boxss
guys can you teach me how to construct a code for developing my website. for example i have a list of different symptoms of a banana diseases which is a … -
Replied To a Post in mysqli_insert_id in a text field
The correct query would be: $sql = "INSERT INTO Guests (firstname, lastname) VALUES ('Sam', 'Smith')"; The code will get created automatically. When you want to create the input element using … -
Began Watching mysqli_insert_id in a text field
Hello everyone. I have the following problem get the last id from the database but you can not insert a text field, the last id has, solution? pls pls <? … -
Replied To a Post in mysqli_insert_id in a text field
Not sure if I understood ypur question but I'll have a go at it. The `mysqli_insert_id()` function returns the ID generated by a query on a table with a column … -
Began Watching Please Can Any one tell me How do I Greet a user with his name after.......
Please Can Any one tell me How do I Greet a user with his name after he submited His form into my Data base /please i need your help. -
Replied To a Post in Please Can Any one tell me How do I Greet a user with his name after.......
Assuming that you use the POST method the users name should be in the $_POST array. Read it from there. Details depend on whether you have insertion script and the … -
Began Watching refresh a div after button click in jquery
Hai, I am new to this concept. After clicking the button it has to insert into database and has to refresh the div in jquery ajax. How to do? -
Replied To a Post in refresh a div after button click in jquery
You use one of jquery [ajax methods](http://api.jquery.com/category/ajax/), i.e. `$.ajax()`. HTTP method should be `POST` since you are updating data (see some in-deepth explanation [here](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html) and some simpler explanation [here](http://www.w3schools.com/tags/ref_httpmethods.asp)). You … -
Replied To a Post in analyzing information from selected checked boxss
Cool. Do research, try some examples and if you run into trouble, post here (include your code snippets, describe where you got stuck). We'll be glad to help. Happy coding. -
Stopped Watching Blank Page on Submit
Hey everyone, I'm working on a project that allows the user to register but am running into an issue where when the registration page is submitted the user receives a … -
Replied To a Post in Blank Page on Submit
Sory I ment to put the die statement after line 60, that is before line 63, so the insert query gets displayed. This way you test the insert query is … -
Began Watching Blank Page on Submit
Hey everyone, I'm working on a project that allows the user to register but am running into an issue where when the registration page is submitted the user receives a … -
Replied To a Post in Blank Page on Submit
Test the insert statement. Put this simple debug code just before line 60: die($q); This will echo the insert query on screen and stop the script. Now inspect the query … -
Replied To a Post in not display the information in $ _SESSION, why?
In each script that uses session variables you have to have the `session_start` function on the very top of the script. It is important that no HTML or other output … -
Stopped Watching Localhost and browser problem
Hi Guys, I've got a xampp since day one, as i used this for local development, strangely happen yesterday when i started it, i cant view my localhost even the … -
Began Watching not display the information in $ _SESSION, why?
in all pages will code with "session_start ();" but does not display all the information, as "First name, Last name" But if the user is connected, and when browsing pages, … -
Replied To a Post in not display the information in $ _SESSION, why?
Nowhere you check if password and username have been entered which is not a good practice and might be a reason for your error. You should do it this way: … -
Began Watching find working days in leap year
Hi, here I included my code to find no of working days between two years. But in leap year I do not know how to find the working days. Can … -
Replied To a Post in find working days in leap year
In my knowledge the `cal_days_in_month` function already takes into account leap years. I think the error is in line 10: $Start_Date="1/".$month."/".$year.""; To make string representation correct it should be in … -
Replied To a Post in Localhost and browser problem
As I remember immediately after installation you should be able to access http://localhost and get the default XAMPP page (or WAMP if you use it), but not https://localhost. Regarding to … -
Stopped Watching What skills do you need to become a good web developer?
Hi, I'm Kavin, I guess I've always been a bit geeky. I'm currently working on my first website and learning HTML and CSS. I'm also quite keen on photoshop. I … -
Stopped Watching How to send a mail in php using onclick function
When I click on the button it is not working but when i refresh the page the mails are going.Please suggest me how to solve this problem. <button type="submit" title="<?php … -
Began Watching analyzing information from selected checked boxss
guys can you teach me how to construct a code for developing my website. for example i have a list of different symptoms of a banana diseases which is a … -
Replied To a Post in analyzing information from selected checked boxss
http://www.html-form-guide.com/php-form/php-form-checkbox.html and thousands of other resultls using duckduckgo search for *php checkbox example* (you can also try google) -
Replied To a Post in Localhost and browser problem
Does your server certificate CN (common name) and the ServerName directive in the virtual host configuration match? But I don't think this would prevent you to at least load the … -
Replied To a Post in Localhost and browser problem
The log does not show any errors only few notices. How do you access your local server (waht is the local URL)? Do you have entries in the hosts file … -
Began Watching Localhost and browser problem
Hi Guys, I've got a xampp since day one, as i used this for local development, strangely happen yesterday when i started it, i cant view my localhost even the … -
Replied To a Post in Localhost and browser problem
Have you checked Apache log files? If you use xampp they should be in C:\xampp\apache\logs. -
Gave Reputation to JamesCherrill in What skills do you need to become a good web developer?
Most bad web sites are not bad because of some technical failure, they are bad because they don't do what the user wants or expects. Learning PHP or whatever is … -
Began Watching What skills do you need to become a good web developer?
Hi, I'm Kavin, I guess I've always been a bit geeky. I'm currently working on my first website and learning HTML and CSS. I'm also quite keen on photoshop. I … -
Replied To a Post in What skills do you need to become a good web developer?
Do not forget security if you want to be a really good web developer. Familiarize yourself with [OWASP top 10](https://www.owasp.org/index.php/Top_10_2013-Top_10) threats and guidelines how to handle them. Regarding graphics skills … -
Stopped Watching How can i get a Highest value from multidimensional Array from mysql?
Hi guys! Im trying to get the ighest value from any array coming from mysql query. What i've till now is it! class vfsClass{ function localvfs() { try { $sql … -
Stopped Watching what is error in this code
i want to know the error in this code <?php $firstname = $_POST ['firstname']; $lastname = $_POST ['lastname']; $pass1 = md5($_POST['pass1']); $pass2 = md5($_POST['pass2']); $email = $_POST ['email']; // filters … -
Replied To a Post in How to send a mail in php using onclick function
Yes. You can use a variable to prepare a string for the subject. Please note that subject must satisfy [RFC 2047](http://www.faqs.org/rfcs/rfc2047). See the [PHP mail](http://php.net/manual/en/function.mail.php) documentation. -
Replied To a Post in How to send a mail in php using onclick function
@cereal, thnx, I was not aware of that. -
Began Watching How to send a mail in php using onclick function
When I click on the button it is not working but when i refresh the page the mails are going.Please suggest me how to solve this problem. <button type="submit" title="<?php …
The End.