10,932 Topics

Member Avatar for
Member Avatar for Upendra_2

I want to store multiple checkboxe values in my sql database. I am using jsp as front end.

Member Avatar for rproffitt
0
204
Member Avatar for mexabet

I got a syntax error flag in my "users" database table, but can't figure the issue out. Please, I need your help. The following is the error message: Error SQL query: --------------------------------------------------------- -- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `user_id` INT( …

Member Avatar for mexabet
0
376
Member Avatar for Sameer_10

Hi Friends i am trying to isert this data to mysql database. However I cannot get this done because I do not know what is happening. I would appreciate any help. This is the code <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> </head> <body> <div id="wrapper"> <div class="box-header"> <h2>NEW …

Member Avatar for patk570
0
176
Member Avatar for divinity02

hi everyone I am currently practicing my java skills by doing this program called car rental management system. I am creating a login page where when the user login it should bring up a dashboard. but the problems when the user login and it say "credentials match, the dashboard doesnt …

Member Avatar for rproffitt
0
315
Member Avatar for Horse_1

Hai Sir, I am confused while creating Invoice system how to add the products item for Single invoice, and save it in MYSQL data base? Thanks and Regards, S. Hari ari

Member Avatar for stultuske
-1
152
Member Avatar for davy_yg

Hello, When I try to import this sql into phpmyadmin I am getting this error message: Query SQL: CREATE TABLE `customers` ( `customerNumber` int(11) NOT NULL, `customerName` varchar(50) NOT NULL, `contactLastName` varchar(50) NOT NULL, `contactFirstName` varchar(50) NOT NULL, `phone` varchar(50) NOT NULL, `addressLine1` varchar(50) NOT NULL, `addressLine2` varchar(50) DEFAULT NULL, …

Member Avatar for davy_yg
1
2K
Member Avatar for mexabet

I'm creating an online learning courseware using PHP 5.5 and connecting via PDO. But I'm confused as to how to get the courseware to work, as I want. This is what I've done: I created a table for students and named it "users" and another for courses and named it …

Member Avatar for mexabet
0
379
Member Avatar for ibrsbk

Hello, I'm not able to display the whole select result information in the table and I have no idea what I am doing wrong, I would appreciate your help so much. So here's my code: <?php $DBServer = 'localhost'; $DBUser = 'root'; $DBPass = ''; $DBName = 'world'; $conn = …

Member Avatar for rpv_sen
0
2K
Member Avatar for Nemius

Hi, i am working on program that connect to database, and user then cans see, edit, insert and delete data in mysql database. I have problem whit update query, can somone help me whit this. User need to click on cell and enter/change data, then hit enter to save changes. …

Member Avatar for woooee
0
582
Member Avatar for Magic8Computing

I have two values in my code one is from a SQL Server query echo to the screen as formattedNum10d my second value is stored in a MySQL database and echo to the screen as formattedNum10f. In a seperate column i would like to subtract foramattedNum10f from formattedNum10d and echo …

0
162
Member Avatar for Mohammad_41

<div class="content" style="margin-left:17%;"> <div class="box box-warning" > <div class="box-header with-border" style="margin-left:20%;"> <h3 class="box-title">Add Package</h3> </div><!-- /.box-header --> <div class="box-body" style="margin-left:9%;"> <div class="row"> <div class="col-md-10" > <form action="" method="post" accept-charset="utf-8"> <div class="row" > <div class="col-md-6"> <div class="form-group"> <label for="varchar">Name </label> <input type="text" class="form-control" name="name" id="name" placeholder="Name" value=""> </div> </div> <div class="col-md-6"> …

Member Avatar for alan.davies
0
340
Member Avatar for arnold_5

**how to automatically sum the scores that is being inputted in the textbox and display to the specific rows of textbox** > this is my code for inputting score while ($students = mysql_fetch_array($result)) { $total = $students['fld_quiz1'] + $students['fld_quiz2'] + $students['fld_quiz3'] + $students['fld_quiz4'] + $students['fld_quiz5']; echo '<tr>'; echo "<td>{$students['id']}<input type='hidden' …

Member Avatar for benanamen
0
192
Member Avatar for Marco_5

Hello Guys, So im a student at 12 grade and im trying to build a website from scratch and i've been successfull until now, i've been stuck in this error for 2 or 3 days, i cant send the text area + other input to database at the same type …

Member Avatar for benanamen
0
339
Member Avatar for Rajendra_2

hi, i am new to php. I am trying to fetch the image stored in database by using mysqli but couldnt fetch it. Please help me with this. Please find the code and let me know where i am lacking... <?php $link = mysqli_connect('localhost','root','','db_image') or die(mysqli_connect_error()); if(isset($_POST['btn_submit'])){ extract($_POST); $file_name=$_FILES["image"]["name"]; $file_tmp=$_FILES["image"]["tmp_name"]; …

Member Avatar for AndrisP
0
386
Member Avatar for janicemurby

hi all im attempting to update some script and i have a undefined error in a page see coding for error $column = "select * "; $sql .= " from favorites where user_id = '".$_SESSION['userid']."' "; of which the information a want to echo shows up so when i put …

Member Avatar for rproffitt
0
453
Member Avatar for Addvantum
Member Avatar for FlOrInAs14

Hello, how to make a button for change image and upload image with database. Please help me <!DOCTYPE html> <html> <head> <div class="profile_info"> <img src="images/user_profile.png" > <div> <?php if (isset($_SESSION['user'])) : ?> <div class="box-body no-padding"> <font size="6%" face="Comic Sans MS"> <strong><?php echo $_SESSION['user']['username']; ?></strong> <i style="color: #00f7fc;">(<?php echo ucfirst($_SESSION['user']['user_type']); ?>)</i></div></font> …

Member Avatar for Shankar.Shiv
0
377
Member Avatar for joshua john

Can u tell me how toset a reminder in a calendar and it should show out as a popup notification two hours before the event to occur.

Member Avatar for rproffitt
0
135
Member Avatar for sushmitha_2

hi, Am a newbie in php,i want to set a countdown timer for online quiz in php. when an student login,there wil be a home page and in home page there are two php pages like quiz.php and result.php, So When the studuent selects quiz.php,he will be redirected to quiz.php …

Member Avatar for sushmitha_2
0
18K
Member Avatar for random_1

Hi, I don't know if this is possible or a really stupid question. I was wondering if after a select query has been executed can the results be filtered for specific values, and not just a single value but 7 different values. with what i want to accomplish its either …

Member Avatar for random_1
0
448
Member Avatar for random_1

Hello, I have a products page which lists the pics of the products. I added pagination with bootstrap classes. I have 10 products in my database. I want to limit per page to display only 6 so then the second page should display 4. The issue im facing now is …

Member Avatar for AndrisP
0
301
Member Avatar for Ummu_2

Hi, I am a newbie in developing a website. i have tried to connect using mysqli conncetion Here is my simple code. // db.php code _______________________ <?php //$con = mysqli_connect("localhost","root","","bakery"); $db = mysqli_connect('localhost', 'root', '', 'bakery'); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . …

Member Avatar for Ummu_2
0
371
Member Avatar for Saif_5

We have built a software web-portal (POS system) in PHP language. Which is working fine when online. But when the internet goes down in the stores, the software stops completely and the managers are not able to make bills till the time internet is live again! Hence we want to …

Member Avatar for Ashraful_2
1
2K
Member Avatar for rjusman90

> this is php code for get value while ($row = $activeRiders->fetch(PDO::FETCH_ASSOC)){ $rider_name = $row['RiderName']; $longitude = $row['CurrentLongitude']; $latitude = $row['CurrentLatitude']; $locations[]=array( $rider_name, $latitude, $longitude ); } $markers = json_encode( $locations ); > Jquery function $(document).ready(function() { $('#map').height($('.page-container').height()); $( window ).resize(function() { $('#map').height($('.page-container').height()); }); <?php echo "var markers=$markers;\n"; ?> > …

0
173
Member Avatar for Makii_1

Hi, I'm trying to create and save breadcrumbs from recursive function. I manage to display hierarchical tree using recursive function. but I'm I am having hard time creating breadcrumb and save them one by one to my database. here is my table cat_id parent_id title 10 0 shoes 11 0 …

0
241
Member Avatar for wikit

So I have website listing characters from a multi person RP I take part in the site uses bootstrap as well as a mysql database. I have a working search script to search teh database for a query and echo the results. I'm trying to figure out how to make …

Member Avatar for benanamen
0
438
Member Avatar for Ayaka

i need someone who can give me his email so i can send my timetable generator software that is given me errors. please anyone who can be of assistance, i will be grateful.

Member Avatar for rproffitt
0
626
Member Avatar for random_1

I have a list.php which displays all the records that is in the database with 2 options Edit or Delete. When clicked its suppose to delete by id but instead it deleted everything. I'm not sure where i went wrong, please help. list.php <?php include "db.php"; try { $conn = …

Member Avatar for benanamen
0
346
Member Avatar for David_116

This problem's driving me crazy since yesterday. I have a table consist of 5 columns: kode_barang (item ID), nama_barang (name of item), qty (quantity), harga_beli (price), jumlah (total). User can input 2 items. This is the code of the form: <HTML> <?php include "koneksi.php"; ?> <form action="insert3.php" method="POST"> <table id="theTable" …

Member Avatar for benanamen
0
2K
Member Avatar for mattyd

Before I get into the specific issues, I want to provide some other details: - Normally, I work on a live, paid server (even in dev); I realize that is not advised, but it is a bad habit I developed over the years. I've tried using Xammp, but do not …

Member Avatar for benanamen
0
638

The End.