- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 12
- Posts with Upvotes
- 11
- Upvoting Members
- 9
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
- Interests
- Programming
Re:
whats the coding of combo box in php????????? can any one tell meplzzzzzz |
|
Re:
I'm trying to create a loop to create 20 text input fields for username & 20 text input fields for password and my current attempt is listed below. It isn't working & if I view source the $i variable doesn't seem to be expanding properly. [CODE]<?php for ($i = 0; … |
|
I have the following class that I intend to validate by passing it in the symfony validator. <?php namespace Shop; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Constraints as Assert; use Shop\Validation\Constraint as ShopAssert; class Country { /** * * @var int */ public $id; /** * * @var string */ public $name; /** … |
|
|
Re:
I am very new to the Mysql/php environment so would appreciate guidance here please. 1) I have a php program that uses a Form to enter data into a MySQL table. This is working OK when data is entered into the fields manually. 2) I have a short php script … |
Re:
i have a form with multiple checkbox. how to get the values that are checked. pls give a quick reaply. thanks |
|
Re:
Hi, I'm currently working on a site in which a user basically clicks a button repeatedly, gaining 1 extra point each time he clicks it. Anyway, I'm trying to do a MySQL update so that when the button is clicked, it updates his score in one of the MySQL tables: … |
|
Re:
What's wrong with this code: <?php include('include/con_database.php'); $result2 = mysql_query("SELECT * FROM banner ORDER BY DESC"); while ($data2 = mysql_fetch_array($result2)){ echo '<td>'.$data2['images'].'</td>'.'<br>'; } ?> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\xampp\xampp\htdocs\IndonusaCMS\index.php on line 39 Line 39: while ($data2 = mysql_fetch_array($result2)){ |
|
Re:
Could you please tell me why this code does not put the data in a row ? --------------- foreach ($_POST as $key => $value){ $sql = "INSERT INTO ir3 ($key) "; $sql .= "VALUES ('$value')"; if (!mysql_query($sql)) { die('Insert Row Failed!' . mysql_error()); } $sql=""; } } Thanks for any … |
|
Re:
I'm trying to add multiple records to an attendance table in a mysql database. Having trouble building an array to check for the multiple entries with the same variables. [CODE]<?php if (isset($_POST['submitted'])) { include('connect-mysql.php'); $number = $_GET['number']; for ($i = 0; $i <= $number; $i++) { $value = $_GET['value']; $text … |
|
Re:
I want to store these submitted values. Can it be possible without database? using just array. I don't want to store values for a session. Just for long time unless deleted. <form id="form1" name="form1" method="post" action=""> <form id="form1" name="form1" method="post" action=""> <p> <label for="num1">Some text</label> <input type="text" name="num1" id="num1" /> … |
|
If I have a model called Admin_user which extends CI_Model, how do I name the file in which this model class is so that codeigniter can load it? I named the file admin_user.php and placed it in application/models directory but Codeigniter does not load the class when I try loading … |
|
I'm finding it difficult to configure public link in ajaxplorer. According to their documentation, this setting can done in server/conf/conf.php but the problem is there is no such file as server/conf/conf.php in the entire application folder. I currently using ajaxplorer 4.2.3. |
|
Re:
here is the code of the php and the last sentence is the problem: <?php/** * The base configurations of the WordPress. * * This file has the following configurations: MySQL settings, Table Prefix, * Secret Keys, WordPress Language, and ABSPATH. You can find more information by * visiting {@link … |
|
Re:
Always use scanf() and printf(). They are much, much faster than cin and cout. Also use stl algorithms, like sort, reverse and find, especialy if they are member functions of a container class you use. |
|
I am learning to using STL, and I'm currently on vectors. I have seen a lot of examples and practiced a lot on my own using built in types, but I'm finding very difficult storing objects that I create my self in a vector. Everything works fine when I add … |
|
Re:
Hi, I am coding a website for my Parents workplace. I've got the navigation bar working, but there are white bars in it? I have moved the positioning around but nothing works. This also happens for IE but different places. I use Chrome as defautl browser. If you could please … |
|
Can anyone explain to me why this simple program won't print anything? #include <stdio.h> #include <ctype.h> char * mkUpperCase(char *); int main(void) { char name[] = "information"; printf("%s\n", mkUpperCase(name)); return 0; } char * mkUpperCase(char *s) { while(*s != '\0') { *s = toupper(*s); s++; } return s; } |
|
Re:
I am creating a registration form for my web site. In my registration form, there are two select boxes to select user's district and there city. So I need to do it, when a user select their district then automatically display city select box with cities which relevant to above … |
|
Re:
so i have a database set up. it has 3 fields. 1 is id, 2nd is uername, and 3rd is password. i already create a one username and password. in index.php for some reason it always goes inside else statment. and it skips the if part. -------------------- index.php -------------- <?php … |
|
Re:
I really dunno wats wrong here. the firts query works but the second does not . please help... There a these connected files: save.php [CODE]<?php include_once("classes/jewelry/item.class.php"); $inum = $_POST['ItemNo']; $i=new item(); $i->ItemNo = $inum; $i->ItemName= $_POST['ItemName']; $i->CapitalPrice=$_POST['CapitalPrice']; $i->SalePrice=$_POST['SalePrice']; $i->Category=$_POST['Category']; $i->Description=$_POST['Description']; $i->save(); include_once("classes/jewelry/stock.class.php"); $j=new stock(); $j->ItemNo = $inum; $j->NumStored= $_POST['Nload']; $j->NumSold= … |
|
Re:
m geting an unexpected error in my code plz tel me where am i wrng my code because i have wriiten mysql_num_rows many time [CODE]<?php session_start(); print_r($_POST); $con=mysql_connect("localhost","root",""); mysql_select_db("pras2",$con); $slip_no=$_POST['slip_id']; $query="SELECT * FROM `slip` WHERE slip_id='$slip_no'"; $result=mysql_query($query); if ($result) { $query1= "UPDATE `slip` SET status='accepted' WHERE slip_id='$slip_no'"; $result1= mysql_query($query1); if($result1) … |
|
Re:
Hi to everyone, I have a problem to create search engine, actually i dont have problem to create simple search engine, i have problem to create search, but with multiple criteria. I need search for recipes database. So, when u put something to search, below u have 6 options to … |
|
Re:
I am trying to get a searched date from one page to appear on another page, i have this code on one page so the user can search for a specific date: [CODE]<?php if(!empty($_POST['searchdate'])) { $mydate = $_POST['searchdate']; } else { $mydate = date('Y-m-d'); } $id = $_POST['id']; if(empty($id) && … |
|
Re:
Hello Friends How can i update the textbox values with new values when i have already values in textbox in php |
|
Re:
hay all, I currently develop a website using php but I very newbie in php programming I have login issues here, I create a login sytem I success to make that, in my web after login page it will go to admin page but when I click browser's back button … |
|
Re:
Hi friends here is me with another issue i have practicing about file upload, my script working with images perfectly but if i choose mp3 audio file its not moving to the directory which i have specified in my code here is my code [CODE]<?php include ("header.html"); require ("config.php"); error_reporting(E_ALL); … |
|
Re:
Hello everyone, i'm been practice C++ for a while just a new hobby in technology. i start with mathematics with numbers and some cout, cin function in other program like excel i can enter series of number and after that we can: 1. Sum them up 2. Divide them, multiple, … |
|
I have the following CSS. This works fine but not in IE and Opera. [CODE] #content { position: absolute; left: 0; right: 0; min-width: 750px; max-width: 1100px; min-height: 700px; margin-left: auto; margin-right: auto; background-color: #FFF; top: 150px; } [/CODE] |
|
Hello everyone. I'm planning of implementing auto-logout in a project I have in mind and I want you guys to tell if the way I plan to do it is the best. This is how I plan doing it. I will have table in my database, say [B]cossay_tb[/B], containing three … |
|
I have this small site that I'm developing for a friend. My problem is that elements are disappearing in ie, even the version 9. The elements that are disappearing are within another element that's been floated. Screenshots of the pages are below. The first screenshot is how the page looks … |