39,388 Topics
![]() | |
Hi, I made a page to show the information of the applications I apply and the interviews I made for selected applications and I use the inner join and left join to display data from different tables. This week I add another table to enter in it the comments. I … | |
With the following text file $string = '1) The most important feature of spiral model is: requirement analysis. Risk management. quality management. configuration management 2) The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3) One of the fault base testing techniques is: Unit testing. … | |
Hi all i have this code that will search a record from the database <?php define ('DB_NAME', 'try1'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db(DB_NAME, $link); if (!$db_selected) { die('Can't … | |
Hi there, Pretty new to PHP and having a problem when deleting data from my MySQL Table after populating it into a listbox, seletcing it and using a button to delete the selected row. Heres the code: <?php //create and execute query $query = 'SELECT product_ID FROM products ORDER BY … | |
Hi Guys I've got a slight problem and was wondering if anyone could help. I've been asked to create an online sign up sheet system. So far I have a from which enters the stuff i need to a table in a SQL database and creates a new html page … | |
I have a table called vw_results which holds the result profile for a particular student: idNum |courseUnit | marks | Gpp | grade| id | semseterID | sessionName 06/021| 2 | 47 | 8 | B+ | 1 | 1 | 2010/11 06/021| 3 | 56 | 7 | C … | |
Hi I was looking magento tutorial there I found following lines <input type="text" name="custom[ssn]" value="<?php echo $this->htmlEscape($this->getQuote()->getSsn()) ?>" title="<?php echo $this->__('SSN') ?>" class="input-text required-entry" id="billing:ssn" /> </div> can you please explain me what do you mean by $this->getQuote()->getSsn() tutorial link is http://www.excellencemagentoblog.com/magento-add-custom-fields-checkout-page | |
When I try to save the form this error appears: Unknown column 'image' in 'field list' Also location & description remains empty. Why is it? input_image.php <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $productname = isset($_POST['productname']) ? $_POST['productname'] : ''; $location … | |
Which is best for me i am beginners PHP Python please tell me what is the best option for me and where to i start learn.............. | |
Hello, I am creating some sort of cPanel, and I want people to be able to log in using their Linux user. I installed the PAM extension, but it's functions aren't recognized/return nothing. Installing it using the `pecl` command does not work (some ./configure errors, I am not really in … | |
Hello Community, I need help with getting javascript function arguments in php eg. function jsFunction(arg) { <?php phpFunction(arg); ?> } <button onclick="jsFunction(this.id);" id="XXXX"/> But when i press the button it doesn't send "XXXX" to the php function (<?php phpFunction(args); ?>) it sends "args" (as plain text). Please Help... | |
hey everybody ; i want to hide some tabs in the menu for users according to their privileges ; my table : user (id, name , pwd , state , histotic , report) state , historic and report ill take values : yes or no . and according to that … | |
Hi All, Need help with something, Im newish to PHP so have very limited knowledge. Basically I am making an admin panel for a friends beauty website. I have two different tables in my database, categories +----+----------+ |cID | cCat | +----+----------+ | 1 | Skin | | 2 | … | |
Hello, I wonder how to create the page view. For example I would like to show only 5 rows or 10 rows of the columns. http://www.masterlink.co.id/product_manager.jpg product.php <?php include('../includes/koneksi.php'); //Hapus berita // undefined index: mode //echo $id; if (!empty($_REQUEST['id']) && !empty($_REQUEST['mode']) && $_REQUEST['mode'] == "delete") { $id = $_REQUEST['id']; $result … | |
How do I post the following through a form? $answers = $_POST['selected_answers$questionNr']; Every time I post the browser displays the following: I see the following error Notice: Undefined index: selected_answers{$questionNr} This is the code I am using to $_POST the form output: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> … | |
Hi all! I have a problem which I can't seem to fix. I would like to know is it possible to send a normal JS variable to a php page. I've tried the following and nothing seems to work. <input type="submit" value="Bookmark" onclick="bookmark();"> function bookmark() { var pageNum = 2; … | |
Hey everyone, Sorry if these files seem familar. I have an issue with a certain date that won't change along with the rest. For example: "Sun., Sep 16th, 2012 6: 26 PM" that's the way the code is supposed to read but there is one section that won't change and … | |
I appologise if this is a redundant question, but I have been trying to figure out this problem for hours! I am trying to get a contact form to send an email from my website. The "message failed" error keeps happening even though I do receive an email, except all … ![]() | |
hi all..actually this is my first time to do script for sending email, i have simple script for running in localhost and it's work wint sending email to me..But in the window server it's doesn't work, because there are not setting yet. The problem here i don't know how to … ![]() | |
Hello, I'm planning to put a chatbox in my intranet, can you give me an idea if what should I do? Thank You God bless :) | |
for ($i = 0; $i < count($_COOKIE); $i++) { echo ($_COOKIE[$i]); } Is there a reason this doenst work? ![]() | |
I haven't had to do Php in about 5years and I'm having some trouble doing the simplest task. I use Javascript to send some parameters from a querystring to my page and so some may be 'undefined' I want to build a mySQL query based on these parameters, therefore need … | |
**How to Change button display text runtime using php?** ![]() | |
![]() | I am looking to modify my contact form (page template in WordPress) to display the SUCCESS message within the same space as the actual form. Sort of like an overlay of the 200px by 300x area, but without the form fields. Here is all the code: <?php if(isset($_POST['submitted'])) { if(trim($_POST['contactName']) … |
Hi! I need help with sending html email with all the records from two tables. I tried joint tables but it doesnt work as it should... Here is what i have session_start(); if(!@$_SESSION["UserID"]) { header("Location: login.php"); return; } ?> <?php $con=mysqli_connect("..."); // Check connection if (mysqli_connect_errno()) { echo "Failed to … | |
Hi! Long time no post, mostly because I've had to put the mobile coding aside for my real job. Plus some home brewing. And lots of pinball. I have run into a problem. I am developing an application where an Excel spreadsheet (or tab-delimited text file) can be read in … | |
how i can implement php code in my blogspot website name [text free](http://text-free.blogspot.com/). how is is it possible? i want add little programme in my blogspot site ![]() | |
How do I Change the select option to check boxes in the following code: foreach($qas as $k=>$v) { echo "<input id='text' style='width:40%' type='text' value='".$v['question']."' name='questions[]' >"; echo "<select name='selected_answers[]'>"; foreach($v['answers'] as $answer){ echo "<option value='".$answer."'>".$answer."</option>"; } echo "</select>"; echo "<br/><br/>"; } | |
Hi, How to revise the php code so that it could fits the subject for e-mail? Thanks. <?php require_once('recaptchalib.php'); $name = strip_tags(@$_POST['name']); $email = str_replace(" ", "", strip_tags(@$_POST['email'])); $phone = str_replace(" ", "", strip_tags(@$_POST['phone'])); $message = strip_tags(@$_POST['message']); if (@$_POST['submit']) { if ($name&&$email&&$phone&&$message) { if (is_numeric($phone)) { $privatekey = "6LfjvdcSAAAAAHNcKjYO5DhTNefxYZHYcfhtrvGC"; $resp … | |
Having a text file: $string = '1) The most important feature of spiral model is: requirement analysis. risk management. quality management. configuration management 2) The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3) One of the fault base testing techniques is: unit testing. beta … |
The End.