39,392 Topics

Member Avatar for
Member Avatar for Nabeel_2

on localhost add to cart is working fine $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = FALSE; $config['sess_use_database'] = TRUE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = TRUE; $config['sess_time_to_update'] = 300; CREATE TABLE IF NOT EXISTS `ci_sessions` ( session_id varchar(40) DEFAULT '0' NOT NULL, ip_address varchar(45) …

Member Avatar for Nabeel_2
0
598
Member Avatar for Augustine_1

Pls can some one help? i need a complete php code on how an employee can submit his passport and the passport will display on his profile whenever the profile is accessed.

Member Avatar for diafol
0
97
Member Avatar for mangel.murti

Hi All , i have my admin panel where i build a form which store information of model popup like its color , title etc and also fields is require to show in model popup. i means all features of model popup is generated by admin and saved to database …

Member Avatar for gabrielcastillo
0
109
Member Avatar for mangel.murti

I am just starting a project on google map. i am using below link to get user current location [Click Here](http://www.sitepoint.com/working-with-geolocation-and-google-maps-api/) how can i find other nearby users / places based on current lat , long? any suggestion help me a lot. thanks

Member Avatar for mangel.murti
0
135
Member Avatar for RonKevinT.Manuela

lets say a news and events tab is clicked and it shows news...by clicking read more you may view the whole content of the news including the image present inside...is there a way to display the image on the news tab without clicking the read more button?

Member Avatar for gabrielcastillo
0
86
Member Avatar for hell hansen

CREATE TABLE IF NOT EXISTS `tbl_person_master` ( `id` int(11) NOT NULL AUTO_INCREMENT, `last_name` varchar(40) DEFAULT NULL, `full_names` varchar(100) DEFAULT NULL COMMENT 'Full first name and middle names', `nick_name` varchar(30) DEFAULT NULL COMMENT 'Most people call you by this name', `identity_number` varchar(13) DEFAULT NULL COMMENT 'National identification number', `photo` varchar(255) DEFAULT …

Member Avatar for gabrielcastillo
0
102
Member Avatar for rpv_sen

Hi Please help me on the below issue, how can we can get the `<span id='newText'></span>` value in php. i am not able to get the value in php variable. <html> <head> </head> <body> <script type="text/javascript"> function changeThis(){ var formInput = document.getElementById('theInput').value; document.getElementById('newText').innerHTML = formInput; } </script> You wrote: <span …

Member Avatar for rpv_sen
0
3K
Member Avatar for Sophia_1

Hi...tried to send email notification in php but not successful. When i check my email there is no email notification received. Below is the coding. Once the user click notify button, an email notification supposed to be sent to responsible person...Please advise...Thanks a lot. <?php error_reporting(E_ALL ^ E_NOTICE); $_SESSION['Targetid']; $_SESSION["Progressid"]; …

Member Avatar for edbr
0
353
Member Avatar for lloyd.farrell.7

Hi, Everyone... I have a php script that writes text to an existing .png file. image 1 - I would like to write / add image 2 too image 1 I have the following script working for the correct score. // add correct score $x = 257; $y = 205; …

Member Avatar for diafol
0
192
Member Avatar for loudy_ca

Hello all, I need help as the support team at rockettheme told me that this is out of their support area and its belong to joomla, but they were kind enough to tell me which file need to be adjusted All I need is to make the image linkable to …

Member Avatar for loudy_ca
0
195
Member Avatar for daocntt

array (size=10) 'item-_token' => string 'k4i2tQbZNuKnhV0vqbdBJ0XlwKzGLm09KA0pWa5n' (length=40) 'item-link' => array (size=3) 0 => string 'link 1' (length=6) 1 => string 'link 2' (length=6) 2 => string 'link 3' (length=6) 'item-shop_name' => array (size=3) 0 => string 'a' (length=1) 1 => string 'b' (length=1) 2 => string 'c' (length=1) 'item-color' => …

Member Avatar for broj1
0
250
Member Avatar for mattster

Hi All, Over the years I have smashed through God knows how many brick walls with `.htaccess`, and all I've learnt is don't even try to make it complicated as nothing is ever simple. I have therefore resorted in recent applications to using `mysite.com/index.php/category/sub-category/create/` etc. and PHP to get hold …

Member Avatar for mattster
0
332
Member Avatar for RonKevinT.Manuela

Just a quick question...S_SESSION['variablename'] only works on php files within the same folder?

Member Avatar for RonKevinT.Manuela
0
108
Member Avatar for malatamil

in this query format i want to display the Memr_Name. how can i get the values from this query $qryStr = mysqli_prepare($connection, "SELECT Memr_Name, MEMBER.Memr_Id from MEMBER, VOLUNTEER ". " WHERE MEMBER.Memr_Id = VOLUNTEER.Memr_Id AND VOLUNTEER.Batch= ? ". " AND VOLUNTEER.Task_Id = 'COR_GNRL' AND ". " VOLUNTEER.Chapter_Id = ? ORDER …

Member Avatar for gabrielcastillo
0
121
Member Avatar for RonKevinT.Manuela

Errors: 1. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens' in C:\wamp\www\SICS\includes\submitcategory.php on line 75 2. PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\wamp\www\SICS\includes\submitcategory.php on line 75 <?php …

Member Avatar for RonKevinT.Manuela
0
2K
Member Avatar for Keyra Lee

hi guys.. i have a problem.. what i want is..i have a form with 2 textfield. i want the value after we insert data into it..the data will insert into database in one column..but how to do it?sory for my bad english..:'( my code: <td bgcolor="#A4DDED"> <strong>DL</strong> <input name="NF1" type="text" …

Member Avatar for Casperjames
0
290
Member Avatar for rpv_sen

HI Please help. how to solve this I am using the below code. insert is working fine. but i am having problem in edit session i edit page i can able to display both values from Database. If i am changing the textbox1 value i am not able to get …

0
117
Member Avatar for v1shwa

Hi, I'm creating a game where users play daily & earn points. I wanted to record the scores of each user each day for a month. At first, I thought to create 31 columns within the table & store the score in the appropriate date field. But, I think it …

Member Avatar for v1shwa
0
213
Member Avatar for davy_yg

Hello, I am trying to input pictures in student profile yet it doesn't work yet. I wonder why? studentinfo.php <?php include('includes/koneksi.php'); $student_id = isset($_GET['student_id']) ? $_GET['student_id'] : ''; $group_id = isset($_POST['group_id']) ? $_POST['group_id'] : ''; $access_level_id = isset($_POST['access_level_id']) ? $_POST['access_level_id'] : ''; $stu_fname = isset($_POST['stu_fname']) ? $_POST['stu_fname'] : ''; $stu_lname …

Member Avatar for davy_yg
0
439
Member Avatar for scaiferw

I would like to capture the modification date from a log file on the client machine in order to warn users (technical on an internal website) that they have not run updates for a given subsystem. Is there a way to do this? I've done this sort of thing before, …

Member Avatar for veedeoo
0
203
Member Avatar for brianbabu

Hey guys, I would like to know how much would it normally charge to create a zomato.com clone. Its a restaurant reviewing site where foodies can review the restaurants, bars and cafes. Thanks in advance! :) Peace!

Member Avatar for Isaac_4
0
129
Member Avatar for terrymold

Hi everyone I have a script which contains contains mostly JavaScript. After various bits of user input, it ends up with an array which contains 6 times (hh:mm) and these can be access by times[0] thru times[5]. Obviously these variables would be available on a clients PC. Another PHP programmer …

Member Avatar for terrymold
0
337
Member Avatar for divyakrishnan

Hi I have added a custom form validation in codeigniter. The callback function returns true/false & the value of validating field. // JavaScript Document class Test extends CI_Controller { /*custom validation function*/ function _checkdate() { $post = $this->session->userdata('post'); echo $fdate = $post['frmDt']; if (preg_match('/^[0-9-: ]*$/', $fdate)) { return true; } …

Member Avatar for cereal
0
156
Member Avatar for ankit1122

hello, after accessing users country name,,can i have a php snippet which will convert 20usd automatically to visitor currency ???

Member Avatar for almostbob
0
154
Member Avatar for dhani09

Hello, I have a php page (category.php) that loads its content from the database when a link is clicked from another page. For example a a link that looks like this `<a href = "category.php?category=cars">Cars</a>` when clicked will pull all the items from the database under the cars category and …

Member Avatar for JorgeM
0
216
Member Avatar for koneill

All, I'm trying to obtain the values from an external JavaScript using PHP - In my index.php page I'm trying to obtain the value being passed in as such: `<input type="hidden" name="imgSrcOrig" id="imgSrcOrig" value="<?php echo $_REQUEST['remote_sill']; ?>"/>`` However - in the JavaScript I need to pass into the hidden field …

Member Avatar for koneill
0
404
Member Avatar for ernesto22

Hi guys.. I have a page where I can add values and upload file. Example. I can add name age and upload a pdf file with it. After addingi can view in a table as a row where I can delete or edit the record. The uploaded file gets saved …

Member Avatar for ernesto22
0
166
Member Avatar for Bharath_3

I redirected to download page (I used window.location() or window.location.href() or replace()), but after download happens it should again come back to same page. I tried using setTimeout, but in vain. Another thing I dont have a chance to write redirect in download.php. Is there any solution for this requirement. …

Member Avatar for pritaeas
0
600
Member Avatar for muhamadtaufiq.zaki

<?php echo "<table border='1' style='border-collapse: collapse;border-color: silver;'>"; echo "<td width='100' align='center'>date in</td><td width='100' align='center'>date out</td> <td width='100' align='center'>model</td> "; echo "</tr>"; include("proses/dbcon.php"); $date_in = $_POST['date_in']; $date_out = $_POST['date_out']; if(isset($submit)) { $sql = "select * from inventory where createdate >= '$date_in' and createdate <= '$date_out' "; } $result= mysql_query($sql); while($row=mysql_fetch_array($result)) { …

Member Avatar for muhamadtaufiq.zaki
0
2K
Member Avatar for sivaprakash.R

The End.