10,940 Topics

Member Avatar for
Member Avatar for AntonyRayan

This is my billing table in my sql: id pid quantity total discount price customer 1 1 2 20.00 5.00 15 a 2 1 2 20.00 3.00 17.00 a 3 2 3 15.00 2.00 13.00 b 4 3 1 2.00 1.00 1.00 a This is my product master table id …

Member Avatar for AntonyRayan
0
232
Member Avatar for nitos

` how do i change from msql to msqli the below statement, am learning this mysql but keep getting Deprecated error. And where can one get an easy tutorial on how to make the changes. thanx $displayImages = ""; if($_GET['cat'] == "juice") $sqlSelProd = mysql_query("select * from tblproduct where prod_cat …

Member Avatar for imti321
0
160
Member Avatar for Raymart

I'm new to mysql and I need a ralationship tutorial.. like for example I made a table called MovieList with 1 column name TitleMovie and now I want to create another table called acc1_MyWatchlist and inside of it was also a TitleMovie..my question is I want insert a value in …

Member Avatar for Traevel
0
198
Member Avatar for ericcarver

Hello. I am tasked with making a small survey for internal use. I have the HTML made up where it asks for a incident number (6 digit number) and has 15 checkbox items. Users here will goto the survey as needed, type in an incident number and check the box …

Member Avatar for diafol
0
729
Member Avatar for msz900

Dear user I write a file upload code in php, the code work's fine but it will upload the file 50kb to 60kb, when i try to upload more then 50kb to 60 kb file then the page stuck on loading. The problem is why it is not uploading more …

Member Avatar for imti321
0
400
Member Avatar for joshmac

I was wondering if the following was possible with a query? If so, can someone give me an example query? I want to print a list of products, group them by color, and then have the totals at the end of each group. | Color | Product | ------------------- | …

Member Avatar for joshmac
0
129
Member Avatar for Phaelax

I'm making a kind of address book thingy and seem to have confused myself on the best way of organizing the tables. At the moment, I have two tables, Contact and Number. Here's a basic representation of my tables: ___________ | Contact | |-----------| | cid | | fname | …

Member Avatar for joshmac
0
132
Member Avatar for J.C. SolvoTerra

Firstly, Hi Guys, sorry I've been away so long, I've taken on quite a large project and just haven't had the time for anything. I am having difficulty completing my query. I initially have two tables UserWallet ![b4eb49cf9784417d61d6a5d56c089da9](/attachments/small/4/b4eb49cf9784417d61d6a5d56c089da9.png ) and Captures ![40061e6629b7d4577f1cf2405e54ab01](/attachments/small/4/40061e6629b7d4577f1cf2405e54ab01.png ) So far my query creates a new …

Member Avatar for J.C. SolvoTerra
0
195
Member Avatar for KyleScalise

Hi, I'm a 16 year old web designer and aspiring developer. I've learned the ins and outs of making a website look amazing, but I'm only now starting to try to figure out how the heck it's all possible. One of the things I run into with every site I …

Member Avatar for Taywin
0
875
Member Avatar for hell hansen

Hi guys, i want to populate a drop down list with ajax, and so when i select the first option thesecond one select must be populated in table like if shoose <select><option>value one</option> <option>value two</option></select> was supoose be populated the second value in another select, but i want be populated …

Member Avatar for hell hansen
0
202
Member Avatar for msz900

I have an issue in select query. I want to select total_comment From comment table and show it under each post. **What I Try** SELECT SUM(total_comment) AS comment FROM user_comment INNER JOIN post ON user_comment.image_id = post.id WHERE status = 0 **And** SELECT SUM(total_comment) AS comment FROM user_comment WHERE status …

Member Avatar for Santanu.Das
0
227
Member Avatar for zlhysong

Hello, I have a app where each page has an undefined number of tables (Meaning on one page we may have 3 tables and on another we may have 15). They are all dynamically populated with values from a MySQL Database, creating a template of sorts. The idea behind this …

Member Avatar for diafol
0
171
Member Avatar for dimitris.dimitri.73

Hello everyone,i have two questions regarding vbnet and binding navigators.As you can see in the pic i have attached ,if we create a database in microsoft access,by going on the database tab and dragging the table in the form,automaically the binding navigator is placed on the top and we just …

Member Avatar for Santanu.Das
0
302
Member Avatar for OtepTheThird

Hi Guys, Im currently working with application, where it will automatically inform the user that there is an overdue account today. i decided to compare the current date(today) to stored date in mysql database, heres my code: Public Sub getReminder() Dim _con1 As New MySqlConnection Dim _cmd1 As New MySqlCommand …

Member Avatar for Santanu.Das
0
3K
Member Avatar for dominic.ceraso.9

Hello friends, I havea mysql database setup as the following database -------------- products | flexRange | color | pressingWidth | topSpacerorTopDie -------------------------------------------------------------- I have 400+ entries into these columns - the end result is to have 4 drop downs where the end user will select one item from each drop …

Member Avatar for Bile
0
348
Member Avatar for joshmac

I am trying to do a check to see if a student meets the prerequisite before they can register for a course section. CourseSecID = 27 (ID of the course section the student wants to register for.) What I am doing is querying the student's acad cred records to see …

Member Avatar for joshmac
0
231
Member Avatar for Riteman

Am creating an online examination website. I need to store the answers answered by the participants who are given a unique ID. So I will be storing ID, Answers for the question, score. So I think I have two ways to do it. 1. Create a table for every student …

Member Avatar for Riteman
0
198
Member Avatar for Junior999

i'm making table reservations scheduling table with PHP and Mysql. i'm stuck on one thing, dont know how to check every cell i must print,which will indicate a reservation, with every column,which will indicate hours. Can anyone give me an idea ? i will get my reservation info from database …

Member Avatar for Masterblank
0
429
Member Avatar for accra

I have a gps sending data to mysql db, but am having hard time ploting the values on google map. My javascript skills are not very good, pls help... javascript code <?php $server = "localhost"; $username = "root"; $database = ""; $password = ""; $conn = mysql_connect($server,$username,$password); mysql_select_db($database) or die("Unable …

Member Avatar for Masterblank
0
2K
Member Avatar for aditipriya
Member Avatar for Himesh_1

cannot update the db with below query. little help will be much aprreicated. Thanks in advacne $order_number=$_GET['order_number']; $invoice_id=$_GET['invoice_id']; $credit_card_processed=$_GET['credit_card_processed']; $total=$_GET['total']; $key=$_GET['key']; $email=$_GET['email']; $query = "UPDATE register_users SET order_number=$order_number, invoice_id=$invoice_id, credit_card_processed=$credit_card_processed, total=$total, key=$key WHERE email=$email";

Member Avatar for Riteman
0
213
Member Avatar for nibbler

Hi, I wonder if anyone can help me with a basic MySQL/PHP output problem please. I have a table called 'Recommendations' which has a small number of fields (id, recom_date, recom_name, recom_status and recom_size). I want to be able to show the 'recom_status' field as a heading with the other …

Member Avatar for gabrielcastillo
0
369
Member Avatar for JasonWung

Currently I have form with couple of fields and field for image. I have done with the part of field storing but don't know exactly how to store image path with PDO and can't find good tutorial. All I found was how to store image into DB instead of path. …

Member Avatar for diafol
0
969
Member Avatar for PinoyDev

Good day! I am now currently ugrading our database to mySQL. My problem is that, how to convert the any msaccess SHAPE command to a mySQL database syntax using 6 and get the same result? Below is the sample code: spath = App.Path & "\employeeaccnt.mdb" cn.Open "Provider=MSDATASHAPE; Data Provider=Microsoft.JET.OLEDB.4.0;Data Source=" …

0
91
Member Avatar for ahabanhbao

Hi. I'm new in PHP Mysql , please help me with this situation : i had this php code <form action="insert.php" method="post"> Check locked backdoor<br /> <input type="checkbox" name="Check[]" value="A" />Yes <input type="checkbox" name="Check[]" value="B" />No <br /> Laptops handover monitor<br /> <input type="checkbox" name="Check[]" value="A" />Yes <input type="checkbox" name="Check[]" …

Member Avatar for toxicandy
0
2K
Member Avatar for Kparas

Hi all, I want to import a .csv file into mysql database with using php code. How i can do this . what php code i will have to use for this. Please help me to do this. Because i have thousand of records which is in .csv file format. …

Member Avatar for rahulnamdev
0
480
Member Avatar for rpv_sen

Hi Can anyone please help me on below issue I have created a website with PHP & MySQL. Its look like an Desktop Applications

Member Avatar for hericles
0
119
Member Avatar for Daniel_31

I really would like to know the best way of going about this issue I need to union 2 select statements and then do a select statement from result of the union

Member Avatar for janissantony
0
222
Member Avatar for Febel

I want to find who is the heaviest borrower among the student and displaying Sname and heavy count. I have the following tables. tablename student having attributes SID,Sname,Spho. tablename sborrow having attributes SID,CDID,borrow_date,return_date. tablename Cd having attributes CDID,title. I have executed the following query in Mysql but it gives me …

Member Avatar for janissantony
0
291
Member Avatar for nadiam

i was trying to login to this website I'm trying to create and i got this error: > Connection failed: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) please help me. TIA!

Member Avatar for janissantony
0
858

The End.