Search found 7 matches

by syntaxerror286
Mon Dec 03, 2012 12:41 am
Forum: mySQL & php coding
Topic: Problem with login form
Replies: 0
Views: 935

Problem with login form

Hi all, i really don't know what happen to my code. It usually shows no database selected. Can someone guide me, Tq. index php <!DOCTYPE html> <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 lt8"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="no-js ie7 lt8"> <![endif]--> <!--[if IE 8 ]> <h...
by syntaxerror286
Sat Dec 01, 2012 6:08 pm
Forum: PHP coding => General
Topic: Problem with login form
Replies: 1
Views: 1767

Problem with login form

Hi all, i really don't know what happen to my code. It usually shows no database selected. Can someone guide me, Tq. index php <!DOCTYPE html> <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 lt8"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="no-js ie7 lt8"> <![endif]--> <!--[if IE 8 ]> <h...
by syntaxerror286
Thu Oct 11, 2012 8:07 pm
Forum: mySQL & php coding
Topic: insert image (jpeg) and update data at the same time
Replies: 0
Views: 716

insert image (jpeg) and update data at the same time

Hi. I want to upload image and update data at the same time. But the result show "No image selected/uploaded". Is my code have a problem? Below is my code. Thank you for your help... Pengesahan.php <?php session_start(); include('connection.php'); //include('security_pemohon.php'); //include('sessio...
by syntaxerror286
Thu Oct 11, 2012 8:07 pm
Forum: mySQL & php coding
Topic: insert image (jpeg) and update data at the same time
Replies: 0
Views: 689

insert image (jpeg) and update data at the same time

Hi. I want to upload image and update data at the same time. But the result show "No image selected/uploaded". Is my code have a problem? Below is my code. Thank you for your help... Pengesahan.php <?php session_start(); include('connection.php'); //include('security_pemohon.php'); //include('sessio...
by syntaxerror286
Mon Sep 24, 2012 8:32 pm
Forum: mySQL & php coding
Topic: SQL error
Replies: 2
Views: 891

SQL error

I've created 4 form that will be stored in one table. I'm attaching my form. It appears "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,)' at line 1". I'...
by syntaxerror286
Fri Apr 13, 2012 3:25 am
Forum: PHP coding => General
Topic: Please help me...... stuck somewhere
Replies: 3
Views: 1231

Re: Please help me...... stuck somewhere

Ok TQ... I try first... TQ for your help... :) really appreciate it
by syntaxerror286
Thu Apr 12, 2012 12:04 am
Forum: PHP coding => General
Topic: Please help me...... stuck somewhere
Replies: 3
Views: 1231

Please help me...... stuck somewhere

Here is my booking form process.php. When user choose the quantity, the price will appear automatically in text box price. Can someone show me.. TQ <?php include('conn.php'); if productname == ("Ayam Double") { $price = $quantity * 6.5; } else if productname == ("Ayam Triple Reject") { $price = $qua...