39,391 Topics

Member Avatar for
Member Avatar for snehaanjit

i used array function to show list of drop down but for edit the form i want to show fetched value but it show some error. my code is <td class="tdcls">Bus Name</td> <tr> <td class="tdcls">Bus Name</td> <td><select name="bus_name" required> <option value="#">Select</option> <?php $busName= getBusName(); foreach($busName as $code=>$bname) { echo "<option …

Member Avatar for AleMonteiro
-1
61
Member Avatar for kaakka

# #how can use file extension like .txt,.php,.html for the same script. # anybody can help# <?php if ($_POST['variable'] == '') { $variable = './'; // default folder } else { $variable = $_POST['variable'] ; } $folder = $variable; $uploadpath = "$folder/"; $max_size = 2000; $alwidth = 900; $alheight = …

Member Avatar for mattster
0
340
Member Avatar for tuxslonik

Can't display proper value in the textbox from database.Displaying only first word. * CODE: echo "<input type=\"text\" name=\"newstitle1\" value=".$row['news_title']."; There is no problem with the database part.please help.

Member Avatar for mattster
0
70
Member Avatar for congay2014

i want the procedure to export .mdb file to sql file move file to server using ftp and import into mysql database using a batch file.

Member Avatar for congay2014
0
79
Member Avatar for james.baird.5249

Hi everyone, i am interested to learn php, where is the best place to learn it?

Member Avatar for ashokkmr22
0
227
Member Avatar for koneill

I'm trying to send an e-mail using the PHP mail function and having two issues in regard to the below code: 1) When I get the e-mail - it is not formatted in HTML - instead I get just the actual HTML code in the e-mail - I get all …

Member Avatar for koneill
0
206
Member Avatar for NAGARAJA BV

Forbidden You don't have permission to access /abc.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. please give the suggestion for Solve this problem. please give the Suggestion step by step i am fresher for PHP Development.... …

Member Avatar for hericles
0
110
Member Avatar for shammi.khan.73

I want to insert a NULL value into my integer column. if ($startYear == "") { $startYear = NULL; } mysqli_query($con, "INSERT INTO Application (startYear) VALUES ('".$startYear."')"); Before you ask, I have checked if $startYear is ever empty, and it is, so this should work. When I run this query …

Member Avatar for shammi.khan.73
1
6K
Member Avatar for acrocephalus

Hello, I am building a web registration form using RSForms for Joomla. I need the form to create a QR code with some of the data provided in the form and store it with the user's data. I know this can be achieved using Javascript, but my knowledge on it …

Member Avatar for piers
0
232
Member Avatar for younes.keraressi

hi, i create an webapplication with php , i commented the line deny from all in conf file of apache, the users can see the index.php but the problem is: when they click on username and pass therse nothing happens, but on the conexion button it work, its looks like …

Member Avatar for younes.keraressi
0
202
Member Avatar for Zdneth_1

Good day IT Enthusiasts and Pros! I want to ask if any of you has an idea of making a web-based application that involves sales quotation and proposal generation? I badly need some tutorials or some pieces of advice on how to make it in PHP especially involving payments using …

Member Avatar for diafol
0
238
Member Avatar for davy_yg

Hello, I have been trying to make contact us works. It appears that it works like I receive a success message but in actual it doesn't work like it suppose to: index.php <form action="contact.php" name="contactform" class="row" method="post"> <h4>Request a FREE TRIAL CLASS!</h4> <div id="input_name" class="col-md-12"> <input id="name" class="form-control" type="text" name="stu_fname" …

Member Avatar for davy_yg
0
499
Member Avatar for ernesto22

This is my edit page. I can see values in my input boxes retrieved from database. What I want to do is update those values when I click on button. Here is my code plz help <?php require_once ('conn.php'); $id = $_REQUEST['main_id']; $sql = "select * from users, work,home where …

Member Avatar for milil
0
111
Member Avatar for ashley9210_2

Hi there I am trying to add some data from a form into a MySQL database and it doesn't seem to been working. Any help would be appreciated. # PHP # <?php if(isset($_POST['add'])) { $dbhost = 'localhost'; $dbuser = ''; $dbpass = ''; $conn = mysql_connect($dbhost, $dbuser, $dbpass); if(! $conn …

Member Avatar for broj1
0
179
Member Avatar for acrocephalus

Hello! I need some help. I have no idea on PHP and I need to set up a custom validation rule. I have a field which name is IBAN. It is composed of 24 characters, de first 4 are PPXX (2 letters and 2 numbers) and the rest are numeric. …

Member Avatar for pritaeas
0
209
Member Avatar for LaurenE

Hi Guys, I found a tutorial online on how to build an events calendar using PHP and Ajax. I am however a little stuck, I have ran debuggers and have error messages printed throughout the code and whilst the basic calendar functionality works, it does not actually display any events. …

Member Avatar for LaurenE
0
351
Member Avatar for ernesto22

im new to php . plz help. i have a page where people fill in a form and check on checkboxes. i also have a page where i edit. i want to know if its possible that on my edit page i could see the checked box checked ? example …

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

Greetings, can someone help me on this? I'm really out of ideas. What i need to do is when i click the link the value of it's ID should be pass on the label inside the modal. Here's my code: <div class="row"> <div class="large-12 columns"> <label id="devFont">-Device-</label> <div class="row"> @foreach …

Member Avatar for Jake.20
0
8K
Member Avatar for markii.borabon_1

Im trying to explode the value of my query to input field so im able to edit them: this what I've got so far :: $temp = explode(',',$sizes); if($temp){ $ctr_size=''; foreach($temp as $size){ echo "<input type='text' value". $size.">"; $ctr_size++; } } please help..

Member Avatar for markii.borabon_1
0
208
Member Avatar for an00p

Hello guys, I have a doubt regarding the tabs I have in my project. Its a user view page with multiple tabs in it. Each tab is having details like user basic info, social profile info, skills etc. The current setup is PHP tabs with $_GET['tab'] value. There are different …

Member Avatar for veedeoo
0
433
Member Avatar for Jannezs

Can someone help me with my problem? I try to make a sum with radio buttons in php, but it doesn't see my value This are my codes: <FORM METHOD="POST" ACTION="12.php" > <DIV>Kies uw product:<br> <INPUT NAME="product" TYPE="radio" VALUE="400" CHECKED>Opblaas rijdende Eend <br> <INPUT NAME="product" TYPE="radio" VALUE="15000">Opblaasbare rijdende televisie <br> …

Member Avatar for toxicandy
0
1K
Member Avatar for malatamil

after login i want to display logout and username. but here if i login again its showing login. please some help me index.php <?php session_start(); $city=$_SESSION['city']; $userl = $_SESSION['username1']; <?php if(!isset($userl) == '') { ?> <div class="header_nav_left">Welcome <?php echo $userl; ?> | <a href="logout.php" id="clicklogin" title="Logout" onClick="NewWindow(this.href,'loginwindow','500','500','no','center');return false" onFocus="this.blur()">Logout</a></div> <?php …

Member Avatar for toxicandy
0
150
Member Avatar for ma.da.7140

Can someone help me with below script, this is script for change password. But it always can't recognize the old password. i'm really thankfull for your comments.. <?php include("plogin.php"); //$_SESSION["userId"] = $_POST['id']; //$userId = $_POST['id']; session_start(); include("config.php"); //Cek Login if ($_SESSION['level']==user) { $namaLgkp = $_SESSION['username']; if(count($_POST)>0) { $result = mysql_query("SELECT …

Member Avatar for Adrian_5
0
270
Member Avatar for Glenn Rodgers
Member Avatar for diafol
0
271
Member Avatar for ravi142

Hello, *Problem:* I have Created '**Custom Post**' In Publish Button which i have to insert in **Custom Table** of database. Right now i have create template **single-Posttype.php** but on **Publish** button not insert in custom table Is Any Hooks for that ? Thank You.

Member Avatar for ravi142
0
86
Member Avatar for ma.da.7140

Hi guys, can anyone help me with this script. i would like to update password into md5. what should i do TQ <?php include("plogin.php"); session_start(); //Cek Login if ($_SESSION['level']==user) { $namaLgkp = $_SESSION['username']; ?> <?php session_start(); include("config.php"); if($_REQUEST["Submit"]=="Ganti") { $sql="update tb_user set password ='$_REQUEST[pwbaru]' where username = '$_SESSION[username]'"; //echo $sql; …

Member Avatar for diafol
0
245
Member Avatar for haider885

Hi... I just want to ask What are requirments to make a portal system? Like student-portal system of a University?

Member Avatar for JorgeM
0
141
Member Avatar for showman13

OK, this may be an elementary question, and hopefully there is a quick and easy resolution... I have always had this issue and previously just dealt with it, but want to get it working the way it should be. When I generate an email from within a PHP script that …

Member Avatar for mattster
0
264
Member Avatar for davy_yg

Hello, I have this code and I try to print group_level before I record it and it doesn't appears: invoice_edit.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Squprime</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" …

Member Avatar for mattster
0
181
Member Avatar for blueguy777

displaying blank page index.php // connection.php $server = "localhost"; $user = "root"; $password = ""; $dbName = "matrimony"; $conn = mysql_connect($server,$user,$password, $dbName) or die("There was a problem connecting to MySQL. Please try again later."); if (!@mysql_select_db($dbName, $conn)) { die ("There was a problem connecting to the database. Please try again …

Member Avatar for diafol
0
439

The End.