User Profile
Collapse
-
Where in your code do you connect to the server and the database? -
I'd suggest to use a free class for this, like
http://www.phpclasses.org/package/62...XLS-files.html...Leave a comment:
-
Enclose the input fields in a form, add a submit button which submits the form to your MySql insertion part en process, like:
Code:// check submission if (isset($_GET['submitted'])) { .... check $_GET['city'] and $_GET['room'] for validity .... insert values into database } else { // Prompt for values ?> <form> .... your input fields ....
Leave a comment:
-
If the 'undefined index' is not followed by a (var) name, it means that you use a blank index on an array. Usually this message is shown prefixed with the PHP source line number of the statement that causes this notice.Leave a comment:
-
hi can i get the code of multiple linked dropdow list please. i need it very badly. -
hi, i m new here.
can i ask u a question?
i m facing a problem
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 'add, school) VALUES ('', '', '', '')' at line 1
i hv c ur reply but i not really understand of it.
can u explain more?
how can i fix my problem?
thz u very much. -
Hey Ron.
Lang niet meer gesproken! Een tijdje terug heb je wat vragen gesteld over php.
Maar nu heb ik een ander probleem.
Ik heb een nieuwe server en heb daarop een domein geinstalleerd. Deze moet nog verder ingesteld worden, met name de DNS.
Maar ik kan op geen enkele manier connecten naar me mysql. Alleen localhost of 192.168.2.4. maar vanaf remote kom ik er niet op.
Vanalles nagekeken, poort staat open, geforward.... -
thanks for the "posting guidelines" that's needed all the time for the new member at the beginning other wise don't knw what they are doing mistake and then start getting warning .. lol, should be there when some one join as a new member .. thanks but couple of link taking to blank page like What is Spam? or (see "What is Flooding?") .
many thanks
regards
Prabir -
This is the HTML and CSS forum. Your question does not belong in this forum but in the ASP forum.
RonaldLeave a comment:
-
Sorry to disagree slightly here.
A destination anchor is not just, or only, a div. The destination anchors in HTML documents may be specified either by the A element (naming it with the name attribute), or by any other element (naming with the id attribute).
Ronald...Leave a comment:
-
LAST WARNING:
As a member you (should) know by now, and you have been warned before, that you have to include any code within the appropriate code tags! Please enclose your posted code in [code] tags (See How to Ask a Question).
This makes it easier for our Experts to read and understand it. Failing to do so creates extra work for the moderators, thus wasting resources, otherwise available to answer the members' questions....Leave a comment:
-
First posting this bunch of code and not telling us what the error is? If you want us to help you, you have to tell us what the error, or supposed error is! This is not a guessing game. And withdrawing your post is not the answer to your problem.
So state your problem and describe the error or whatever it is that is the problem.
moderatorLeave a comment:
-
I sure hope you mean a server side language (like PHP, ASP, etc.)
Ronald...Leave a comment:
-
cURL is the name of the project. The name is a play on 'Client for URLs', originally with URL spelled in uppercase to make it obvious it deals with URLs. The cURL project produces two products:- libcurl
A free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE and LDAP. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, erberos, HTTP form based upload,
Leave a comment:
- libcurl
-
As your code is now, this only works when condition [php]if (!isset ($_SESSION['cart'])){[/php] is met.
You should start the session in the first statement if your script, i.e.[php]<?php
session_start() ;
....
[/php]Then you test whether the product exists in the session array and if so, increment it; if not add it to the session array.[PHP]
if (isset ($_SESSION['cart'][$prod_id]))
$_SESSION['cart'][$prod_id]['qty']...Leave a comment:
-
warning:
As a full member now, you should know that we expect your code to be posted in [CODE] tags (See How to Ask a Question).
This makes it easier for our Experts to read and understand it. Failing to do so creates extra work for the moderators, thus wasting resources, otherwise available to answer the members' questions.
Please use the tags in future.
MODERATOR.Leave a comment:
-
I assume you want us to help you with your school/class work. I also assume that your lecturer thinks you have the (theoretical) programming and database background to achieve this, otherwise you would not have gotten this assignment?
But reading your posts I am not so confident that you have that expertise. Maybe it is wiser to do some (PHP) MySQL tutorials to get a better grasp on the matter at hand. See the following links:...Leave a comment:
-
When you want to distinguish between all different products you 'll have to use different names (and certainly different id's).
Increment a counter in the while loop and append that counter to the name field.
RonaldLeave a comment:
-
And why is that? OP only needs to open the file for read.
Ronald...Leave a comment:
-
WARNING:
Please enclose your posted code in [code] tags (See How to Ask a Question).
This makes it easier for our Experts to read and understand it. Failing to do so creates extra work for the moderators, thus wasting resources, otherwise available to answer the members' questions.
Please use [code] tags in future.
MODERATORLeave a comment:
No activity results to display
Show More
Leave a comment: