39,388 Topics

Member Avatar for
Member Avatar for marifard

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 …

Member Avatar for pritaeas
0
358
Member Avatar for ferdinandmucos

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. …

Member Avatar for ferdinandmucos
0
207
Member Avatar for mallows.yum

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 …

Member Avatar for pzuurveen
0
303
Member Avatar for Dramz0r

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 …

Member Avatar for Dramz0r
0
234
Member Avatar for bfitzgerald

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 …

Member Avatar for Webville312
0
269
Member Avatar for olajyde027

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 …

Member Avatar for pritaeas
1
266
Member Avatar for ankit.4aug

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

Member Avatar for veedeoo
0
243
Member Avatar for davy_yg

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 …

Member Avatar for TonyG_cyprus
0
292
Member Avatar for Helper guy

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..............

Member Avatar for mattster
0
155
Member Avatar for lukas.vandendijssel

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 …

Member Avatar for mattster
0
824
Member Avatar for joshl_1995

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...

Member Avatar for joshl_1995
0
427
Member Avatar for jamila allagui

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 …

Member Avatar for Webville312
0
182
Member Avatar for andrew0136

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 | …

Member Avatar for annaharris
0
169
Member Avatar for davy_yg

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 …

Member Avatar for annaharris
0
201
Member Avatar for ferdinandmucos

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"> …

Member Avatar for ferdinandmucos
0
288
Member Avatar for phfilly

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; …

Member Avatar for phfilly
0
294
Member Avatar for geneh23

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 …

Member Avatar for geneh23
0
492
Member Avatar for crazymidget01

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 …

Member Avatar for LastMitch
0
179
Member Avatar for HasNor

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 …

Member Avatar for LastMitch
0
148
Member Avatar for bLuEmEzzy

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 :)

Member Avatar for bLuEmEzzy
0
242
Member Avatar for riahc3

for ($i = 0; $i < count($_COOKIE); $i++) { echo ($_COOKIE[$i]); } Is there a reason this doenst work?

Member Avatar for diafol
0
152
Member Avatar for TimCadieux

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 …

Member Avatar for TimCadieux
0
197
Member Avatar for abdulazeem
Member Avatar for xMatter

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']) …

Member Avatar for EvolutionFallen
0
200
Member Avatar for dbalas

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 …

Member Avatar for dbalas
0
196
Member Avatar for LaughingOtter

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 …

Member Avatar for LaughingOtter
0
526
Member Avatar for nishi.ahmed2

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

Member Avatar for diafol
0
329
Member Avatar for ferdinandmucos

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/>"; }

Member Avatar for ferdinandmucos
0
243
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
114
Member Avatar for ferdinandmucos

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 …

Member Avatar for ferdinandmucos
0
950

The End.