-
Stopped Watching Trouble Setting Session Variable
This is my main page where the user can choose a category from a drop down. I need that category selection to update my session variable so I can then … -
Replied To a Post in Trouble Setting Session Variable
Yes, I was a bit quick, sory. The thing is you want to use ajax to send a request to another php page which then sends a response which is … -
Began Watching Trouble Setting Session Variable
This is my main page where the user can choose a category from a drop down. I need that category selection to update my session variable so I can then … -
Replied To a Post in Trouble Setting Session Variable
Why don't you use the second parameter of the `load()` function for sending it over to the theServiceOrderReport.php. You basically do not need a session var for that. First add … -
Began Watching PHP Shopping Cart Variable and Object errors
I need help to eliminate the errors Im getting. I have a shopping cart that is displayed on the products page by way of a cart update page. I get … -
Replied To a Post in PHP Shopping Cart Variable and Object errors
In your code you use both mssql_* and mysql_* functions. Do you use two different database servers or is that just a typo from copying from some examples? -
Replied To a Post in how to get rid of these erros ?
Sory for late reply. Obviously `$_FILES['userfile']` does not exist. You should place the code that reads the uploaded file information and writes to the database within the `if(isset($_POST['upload']) && $_FILES['userfile']['size'] … -
Stopped Watching mysql explode and insert in mysql
I have a column name descrption in a table.. descrption contains multiple rows like claim for my new mercedes purchase my new car ------ ----- I am trying to explode … -
Began Watching how to get rid of these erros ?
Hi i have this image upload script, its giving me errors. this script should get description of the image from user and upload image to database. please someone could take … -
Replied To a Post in how to get rid of these erros ?
What is the error? Can you post it? -
Stopped Watching Wordpress foreach loop issue.
i using this code to display radio buttons for selection. somehow the its not working correctly, plz guide on this issue. thanks in advance. <div class="register-section" id="user-role-section"> <label for="wp_rar_user_role"><?php echo … -
Replied To a Post in Wordpress foreach loop issue.
> in simple words this code works fine Does that mean that the code works fine now? -
Replied To a Post in Wordpress foreach loop issue.
Sory for late reply, I was away. Can you post the contents of the $this->wp_selected_rar_roles and $wp_roles->roles arrays. You can use this code: <?php // show contents of $this->wp_selected_rar_roles echo … -
Replied To a Post in Wordpress foreach loop issue.
Ups, I wrongly interpreted your code, I am sory for that. Please disregard my post above. Can you post the html code for both radio buttons that gets generated, please. -
Began Watching Wordpress foreach loop issue.
i using this code to display radio buttons for selection. somehow the its not working correctly, plz guide on this issue. thanks in advance. <div class="register-section" id="user-role-section"> <label for="wp_rar_user_role"><?php echo … -
Replied To a Post in Wordpress foreach loop issue.
Seems like $role is an array and therefore won't display as a string. Can you post the contents of the $role - you do this by using print_r($role). Edit: I … -
Stopped Watching PHP search and filter problem
Here is my PHP code: $fields=array('eventID','eventTitle','te_events.venueID','te_events.catID ', 'eventStartDate','eventEndDate','eventPrice'); // initialize empty array for WHERE clauses $wheres=array(); // loop through field names, get POSTed values, // and build array of WHERE … -
Stopped Watching Links to all files in a certain folder
Hi Guys, I'm looking to build an extremely simple script that would allow someone that I know to share files in a simple manner. This script should do the following: … -
Stopped Watching dynamically increase the width and height of the div
Hello all, I am doing project which user can upload its image and can customize it according to different differnt functionality available on the site,in which one functionality is that … -
Stopped Watching session variable are not getting
Hello All, In PHP file i have session variables like 'token'. When I am using the same PHP file in java script $_post("path_to_php_file.php",{ }`, function(data){ }); Then it is not … -
Began Watching Links to all files in a certain folder
Hi Guys, I'm looking to build an extremely simple script that would allow someone that I know to share files in a simple manner. This script should do the following: … -
Replied To a Post in Links to all files in a certain folder
Adapted from the [PHP site example](http://si1.php.net/readdir): // path to the directory with files (relative to the script) $path = '.'; // URL to the above path from the browser $url … -
Stopped Watching How to Import Excel file into mysql Database using PHP
Dear, I need help, how to import my Excel file into Mysql Database. I can successfully upload excel file but its not correctly formated uploaded or imported. please check this … -
Stopped Watching Dynamically Create a Form
Hi guys, I have a mysql database with many tables. Instead of creating a page each to enter info into the relevant tables, is it possible to have a form … -
Began Watching mysql explode and insert in mysql
I have a column name descrption in a table.. descrption contains multiple rows like claim for my new mercedes purchase my new car ------ ----- I am trying to explode … -
Replied To a Post in mysql explode and insert in mysql
Use explode and implode and form an SQL statement: $values = explode(' ', "claim for my new mercedes"); $sql = "INSERT INTO mytable VALUES ('" . implode("','", "$values") . "')"; … -
Replied To a Post in PHP search and filter problem
I tested both my suggestions in my environment and they work. But please note, you have an extra space in one of the elements of the $fields array. I also … -
Replied To a Post in PHP search and filter problem
My previous post were not tested, only conceptual. Tonight I will simulate/test the code in real environment and let you know how I went. -
Replied To a Post in PHP search and filter problem
Yet another approach. Do not use table name in the array: $fields=array('eventID','eventTitle','venueID','catID ', 'eventStartDate','eventEndDate','eventPrice'); Prepend table name to all $wheres: // add to array of WHERE clauses only if value … -
Replied To a Post in PHP search and filter problem
Depends on the situation. So the venueID and catID are from another table. You could code it this way: ... // add to array of WHERE clauses only if value … -
Began Watching PHP search and filter problem
Here is my PHP code: $fields=array('eventID','eventTitle','te_events.venueID','te_events.catID ', 'eventStartDate','eventEndDate','eventPrice'); // initialize empty array for WHERE clauses $wheres=array(); // loop through field names, get POSTed values, // and build array of WHERE … -
Replied To a Post in PHP search and filter problem
Select element names are `venueID` and `catID` but the field names in the array are `te_events.venueID` and `te_events.catID` so you do not get a match here (`isset($_POST[$field])` returns `false`). -
Stopped Watching Send Email Function
This is a function I created to facilitate the sending of PHP emails. Just give it the name and email of who your sending it to, and your name and … -
Stopped Watching exporting pchart images to pdf
i have the following code <?php require_once 'includes/initialize.php'; set_include_path( get_include_path() . PATH_SEPARATOR . CHARTS_PATH); require_once "class/pDraw.class.php"; require_once "class/pImage.class.php"; require_once "class/pData.class.php"; // create data set $myDataset = array(0, 1, 1, 2, … -
Began Watching dynamically increase the width and height of the div
Hello all, I am doing project which user can upload its image and can customize it according to different differnt functionality available on the site,in which one functionality is that … -
Replied To a Post in dynamically increase the width and height of the div
Typically you would load all three divs with images of different size. One of the divs will be displayed while the other two will not. You use `display:block` for displayed … -
Replied To a Post in session variable are not getting
Are you starting session anywhere? If you have session_start then session variables should be available to you. -
Began Watching session variable are not getting
Hello All, In PHP file i have session variables like 'token'. When I am using the same PHP file in java script $_post("path_to_php_file.php",{ }`, function(data){ }); Then it is not … -
Replied To a Post in jquery filters with checkbox
http://api.jquery.com/checked-selector/ Have a look at first example. -
Began Watching How to Import Excel file into mysql Database using PHP
Dear, I need help, how to import my Excel file into Mysql Database. I can successfully upload excel file but its not correctly formated uploaded or imported. please check this … -
Replied To a Post in How to Import Excel file into mysql Database using PHP
If I understood correctly you just want to skip first row which is heading row. If that is true then start inserting at row 2. Something like: $heading = true; … -
Replied To a Post in jquery filters with checkbox
There is a nice jquery example on the above link. BTW, I do not think you need a plugin for that. It is just few lines of code. -
Began Watching Dynamically Create a Form
Hi guys, I have a mysql database with many tables. Instead of creating a page each to enter info into the relevant tables, is it possible to have a form … -
Replied To a Post in Dynamically Create a Form
Describe your tables in a way that you can create forms and generate queries. A simple way of doing it would be to have table fields stored in an associative … -
Began Watching jquery filters with checkbox
http://www.flipkart.com/mens-clothing/winter-seasonal-wear/pr?sid=2oq,s9b,qgu&otracker=hp_nmenu_sub_men_0_Winter%20Wear I want to intergrate filters for checkboxes. is there any jquery plugin avaliable ? -
Replied To a Post in jquery filters with checkbox
Could you be more specific. Would you like to find all the checkboxes that are clicked? That is easy to implement with the [checked selector](http://api.jquery.com/checked-selector/). -
Stopped Watching ONCLICK/ONMOUSEOVER CHANGE FUNCTION FOR MY AVATAR
Hello Firends, I am developing a fashion website where visitors can come and select branded T-Shirts. Visitors will have to choose Man, Woman or Kid Avatar in order to check … -
Stopped Watching display links to the owner of the comment
hi my name is lester page and i have a problem that is displaying links to the owner of the comment. the code is working fine but the thing is … -
Stopped Watching i want to know about php.net language?
i want to know about php.net language? -
Stopped Watching PHP learning
Hi i am new in this site and want to know PHP properly.I also visited w3schools.com for this but it is not enouh for me .So if any one can …
The End.