39,320 Topics
| |
Just a quick question...S_SESSION['variablename'] only works on php files within the same folder? | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
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, … | |
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! | |
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 … | |
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; } … | |
hello, after accessing users country name,,can i have a php snippet which will convert 20usd automatically to visitor currency ??? | |
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 … | |
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 … | |
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 … | |
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. … | |
<?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)) { … | |
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 … | |
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 … | |
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 … | |
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" … | |
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" … | |
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 … | |
Just a quick question. can you activate a browsers ctrl+F functionality using php?Like click the button and ctrl+f activates | |
Hello there, is anyone willing to help me converting some small php snippet to C# or vb.net please? | |
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 … | |
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 … | |
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 … | |
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 … |
The End.