39,320 Topics

Member Avatar for
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
107
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
120
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
289
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
115
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
207
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
425
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
201
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
121
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
335
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
155
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
152
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
214
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
399
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
164
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
596
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
Member Avatar for berserk

I have been working on this for some time now and i cant get it to work, idk if im missing something small which im sure is the case, but the strange part is it works on an older installation of apache, so maybe im using code thats no longer …

Member Avatar for berserk
0
309
Member Avatar for christ123

Hi there! I have a problem and i want you guys to help me. I have 1 table which has many fields. (mysql and im connected from microsoft visual studio..runs very well so there no problem with this). lets forget the fields that we dont want now.. i have 4 …

Member Avatar for christ123
0
224
Member Avatar for Gnowk

Hiya guys i have an assignment based on authentication mechanisms as follows. Just want to be pointed in the right direction to get it started. Description: The purpose of this assignment is to exercise your skills in networking infrastructure, authentication mechanisms and the use of role management. Your task in …

Member Avatar for diafol
0
263
Member Avatar for Jake.20

Greetings Sirs. Can somebody help me with this problem i'm stuck here on this problem for about 4 days no. What i wanted to do is this.. Add a device named "Project C" And Add a Location "000-0001" Add another Location "Jake" First Input: Assign the device to Location "000-0001" …

Member Avatar for Jake.20
0
316
Member Avatar for raji1103

Hi, I am new to PHP and i am working on the study project. It is about digital studio where registered users can upload images and apply for various services like photo printing, collages etc. I am building an image upload form. following is my html form code <form action="upload.php" …

0
79
Member Avatar for grakovski

Hello, I got terrible need :) I have this: $profile_data = file_get_contents("http://tyxo.bg/d/148025/daily"); $sep1 = explode('<table id="general-table">', $profile_data); $set2 = explode("</table>", $sep1[1]); echo $set2[0]; which output this: http://i.imgur.com/2THUUve.png I need to export only this values without anything else: http://i.imgur.com/IQG708Q.png You can test by your self the code i give - he …

Member Avatar for diafol
0
5K
Member Avatar for RonKevinT.Manuela

Just a quick question. can you activate a browsers ctrl+F functionality using php?Like click the button and ctrl+f activates

Member Avatar for RonKevinT.Manuela
0
499
Member Avatar for Trle94

Hello there, is anyone willing to help me converting some small php snippet to C# or vb.net please?

Member Avatar for Trle94
0
256
Member Avatar for RonKevinT.Manuela

Here is a php file that i HAVE...so at the moment it displays the latest news on the site but I want to add 5 more...how should my query be? <?php $stmt = $db->query('SELECT postID, postTitle, postURL, postDesc, postDate FROM posts where postid=(SELECT max(postID) from posts)'); while($row = $stmt->fetch()){ $output …

Member Avatar for RonKevinT.Manuela
0
195
Member Avatar for cmabill

i would like to make a simple website but with shopping cart function, it should include payment method of Paypal, Visa, Mastercard, Alipay, etc most popular trasaction ways. the web show be as simple as possible, most like a wordpress, but the administrator funcation should be easy-going, and operate by …

Member Avatar for hericles
0
138
Member Avatar for lloyd.farrell.7

Hi Everyone, Got a really strange problem with a mysql select query not displaying results in select dropdown. I have a small db table id,position,name and I am trying to display just the names where the position is GK Here is my query $result_dglass = mysql_query("select name from team where …

Member Avatar for nobita2811
0
215
Member Avatar for klemme

Hi all, I have the following code that finds specific images, and uses an attributte to create an iframe src. ( It is for youtube videos ). I am able to find the nodes and the attribute, but cant quite figure out how i REPLACE the found image with the …

Member Avatar for klemme
0
230

The End.