Monday, June 30, 2008

when i work with tables in MySQL-I get error message as "Violation of PRIMARY KEY constraint PK_Patient_Registration . Cannot insert duplicate key in object Patient_Registration . The statement has been terminated."even if i dont have any duplicates in my table.why?

For example

something like this
$result = mysql_query("SELECT * FROM review ORDER BY name");

but instead of ordering it by its name i want to order it by what number of submission it is. So if it was the first thing submitted it would go before the second submitted.

please give me sample mysql queries where each query is embedded with a unique id- can u cites me more examples?

I want to buy an domain name & web hosting service from microsoft officelive. My plan is to create a webste using PHP & MySQL. Does officelive support PHP & MySQL
Actually I wanted to know- does officelive allow to host website that has been created with PHP & MySQL?

I have been using my database to test a program. Now that the program is functional- how do i reset the database but maintain on the tables and parameters. Basically i want to delete all the current data and reset all the id s (on autoincrementt) to 1.
Any reason why I would have to change my mysql calls after this? Now all of a sudden my calls to the database arn t going through and was working a second ago. I run this sql call then use numrows and it is returning 0 when there are in fact rows in the database.

$sql = "SELECT Matches.*- AAMaps.name- ClanInfo.clanname
FROM Matches- AAMaps- ClanInfo
WHERE Matches.clan_id = " . $validentry . "
AND AAMaps.id=Matches.map_id
ORDER BY dateposted DESC LIMIT 3;";

I dopnt understand what mysqls pupose is. Do u connect it to the intenret or somehthing?

Sunday, June 29, 2008

please give me sample mysql queries where each query is embedded with a unique id- can u cites me more examples?

I want to buy an domain name & web hosting service from microsoft officelive. My plan is to create a webste using PHP & MySQL. Does officelive support PHP & MySQL
Actually I wanted to know- does officelive allow to host website that has been created with PHP & MySQL?

I have been using my database to test a program. Now that the program is functional- how do i reset the database but maintain on the tables and parameters. Basically i want to delete all the current data and reset all the id s (on autoincrementt) to 1.
Any reason why I would have to change my mysql calls after this? Now all of a sudden my calls to the database arn t going through and was working a second ago. I run this sql call then use numrows and it is returning 0 when there are in fact rows in the database.

$sql = "SELECT Matches.*- AAMaps.name- ClanInfo.clanname
FROM Matches- AAMaps- ClanInfo
WHERE Matches.clan_id = " . $validentry . "
AND AAMaps.id=Matches.map_id
ORDER BY dateposted DESC LIMIT 3;";

I dopnt understand what mysqls pupose is. Do u connect it to the intenret or somehthing?

Hi-
I have installed Apache- PHP and MySQL on my window XP computer to locally build a website before sending to web hosting. In order to create database name- how do I get phpMyAdmin working like installing a complete suite of Xammp or WAMP. I don t want both of the latter.

I need a free hosting source with PHP and MySQL for a coppermine gallery- and it needs to be able to have FTP for quick image uploading- and I need to find one with the most memory if possible.
The one I ve found so far is byethost.[com] and that s only 250mb.
If anyone could help I d be really greatful.
Thanks.

I have been using my database to test a program. Now that the program is functional- how do i reset the database but maintain on the tables and parameters. Basically i want to delete all the current data and reset all the id s (on autoincrementt) to 1.
Any reason why I would have to change my mysql calls after this? Now all of a sudden my calls to the database arn t going through and was working a second ago. I run this sql call then use numrows and it is returning 0 when there are in fact rows in the database.

$sql = "SELECT Matches.*- AAMaps.name- ClanInfo.clanname
FROM Matches- AAMaps- ClanInfo
WHERE Matches.clan_id = " . $validentry . "
AND AAMaps.id=Matches.map_id
ORDER BY dateposted DESC LIMIT 3;";

I dopnt understand what mysqls pupose is. Do u connect it to the intenret or somehthing?

Hi-
I have installed Apache- PHP and MySQL on my window XP computer to locally build a website before sending to web hosting. In order to create database name- how do I get phpMyAdmin working like installing a complete suite of Xammp or WAMP. I don t want both of the latter.

I need a free hosting source with PHP and MySQL for a coppermine gallery- and it needs to be able to have FTP for quick image uploading- and I need to find one with the most memory if possible.
The one I ve found so far is byethost.[com] and that s only 250mb.
If anyone could help I d be really greatful.
Thanks.

I want to display a list of 5 upcoming events (from MySQL database) in my module. But i want to add a link at the bottom of the module that says "next 5 events". When a user will click on this link- the next 5 events will be retrieved from the database. I want to do this asynchrounously if possible (AJAX?). Please help!

I want to register a website which has a database also. I want to know where I can do it for cheap ?
Also I want to learn Mysql & php is there any website in which i can learn ?

I dopnt understand what mysqls pupose is. Do u connect it to the intenret or somehthing?

Hi-
I have installed Apache- PHP and MySQL on my window XP computer to locally build a website before sending to web hosting. In order to create database name- how do I get phpMyAdmin working like installing a complete suite of Xammp or WAMP. I don t want both of the latter.

I need a free hosting source with PHP and MySQL for a coppermine gallery- and it needs to be able to have FTP for quick image uploading- and I need to find one with the most memory if possible.
The one I ve found so far is byethost.[com] and that s only 250mb.
If anyone could help I d be really greatful.
Thanks.

I want to display a list of 5 upcoming events (from MySQL database) in my module. But i want to add a link at the bottom of the module that says "next 5 events". When a user will click on this link- the next 5 events will be retrieved from the database. I want to do this asynchrounously if possible (AJAX?). Please help!

I want to register a website which has a database also. I want to know where I can do it for cheap ?
Also I want to learn Mysql & php is there any website in which i can learn ?

On the same MYSQL database but different URLs? Or would that mess things up...

I need a free hosting source with PHP and MySQL for a coppermine gallery- and it needs to be able to have FTP for quick image uploading- and I need to find one with the most memory if possible.
The one I ve found so far is byethost.[com] and that s only 250mb.
If anyone could help I d be really greatful.
Thanks.

I want to display a list of 5 upcoming events (from MySQL database) in my module. But i want to add a link at the bottom of the module that says "next 5 events". When a user will click on this link- the next 5 events will be retrieved from the database. I want to do this asynchrounously if possible (AJAX?). Please help!

I want to register a website which has a database also. I want to know where I can do it for cheap ?
Also I want to learn Mysql & php is there any website in which i can learn ?

On the same MYSQL database but different URLs? Or would that mess things up...

Although in Xampp control panel apached server showing running but Mysql server not showing running when we click start button which is infront of MySQL it s admin button still freez kindly tell what i need to do for Mysql running .at the other hand when i go to windows>services>right clik on mysql and click start. it shows the msg box- Could not start the mysql service on local computer. error 1067: the process terminated unexpectedly. kindly tell what should i have to make sure that mysql start on my local computer. thank you.

Saturday, June 28, 2008

sql and sql server
"structured query language""sql" server this two are same or there is any difference. i ask about sql server they said me that sql server is used for .net.
what is the use of "sql"
only "sql "friends
in oracle also there is a sql and plsql are this all are same
and also "
mysql"
i want to learn only "structure query language" but i confused what name should i say to any institute to learn "sql"
because didnot understand which is correct could you please give me a name which is correct to use

I ve installed MySQL on my computer- uninstalled it and reinstalled again. The computer remember the program and asked for an old password and new password. I typed correctly but it won t let me pass.

How do I remove the password?

Thanks so much in advance

I have a website with a table- in one cell i have images that create a navigation bar- in another cell i have site content- etc.

Ok- what I want is this: let s say I decide to change my navi-bar images- ie- the order and/or quantity of said images. Is there a way where all I have to do is edit one file and all the pages on my site will have that new navi-bar without me having to cut/paste the code for it into each file on my website?

I ve only learned basic css where I can change an external style sheet- etc- but i don t see how css can do what I m asking unless i haven t learned something important. Is there some kind of code where I can say "in this cell- filename.ext = content of cell"?

Or is there some other entirely other kind of workflow I can design with to do this? I ve started learning php/mysql but not much. Is there some kind of program that will do this for me- and which ones could work really well w/Dreamweaver CS3? I m not smart- I need easy to use programs.

james thank you for input.

Hi - I have just made a user login system. I can register - Login - Go to a user space and Logout. But my user login page is the same for everyone. I want personal pages is there anyway of doing this so when they login it does this. I will post my login code as addintional details. Please help me. Thanks alot. Anyhelp would be great!
Grr not enough room to post it. Can anyone give me an idea of how it is possible please. If you need the code i will email it. Thanks :D
Also any links i could use to guide me threw would be good like a tutorial on how to do it. Thanks
Hiya thanks for responces - im fairley new to php and mysql but i do know a bit.
Basically i was slowley developing a social network that i can build on and eventually launch. Im kind of using it to learn php and stuff. So basically i have a login and user regiration page but like when they login it goes straight a page that everyone gets the same. Using the header(Location:) thing. What i want is like myspace everyone to see a diffreant page like there control panel but also like a profile page so they can create a url. Is there anyway i can do this. Thanks

I m trying to install a software which I bought. Every time I click the icon of the software- this message come out - "Error connecting to the server: Unable to connect to any of the specified MySQL host. I asked them for help- they said I need to check my system security settings (i.e. Norton- McAfee- AVG- etc) and make sure there are no files in the blocked lists of those programs.

The problem is- I don t use any of them. Is there another security setting inside my PC that I don t aware?

Hi - I have just made a user login system. I can register - Login - Go to a user space and Logout. But my user login page is the same for everyone. I want personal pages is there anyway of doing this so when they login it does this. I will post my login code as addintional details. Please help me. Thanks alot. Anyhelp would be great!
Grr not enough room to post it. Can anyone give me an idea of how it is possible please. If you need the code i will email it. Thanks :D
Also any links i could use to guide me threw would be good like a tutorial on how to do it. Thanks
Hiya thanks for responces - im fairley new to php and mysql but i do know a bit.
Basically i was slowley developing a social network that i can build on and eventually launch. Im kind of using it to learn php and stuff. So basically i have a login and user regiration page but like when they login it goes straight a page that everyone gets the same. Using the header(Location:) thing. What i want is like myspace everyone to see a diffreant page like there control panel but also like a profile page so they can create a url. Is there anyway i can do this. Thanks

I m trying to install a software which I bought. Every time I click the icon of the software- this message come out - "Error connecting to the server: Unable to connect to any of the specified MySQL host. I asked them for help- they said I need to check my system security settings (i.e. Norton- McAfee- AVG- etc) and make sure there are no files in the blocked lists of those programs.

The problem is- I don t use any of them. Is there another security setting inside my PC that I don t aware?

My interest is to be able to have my .txt files and/or html files load dynamically. What I have the idea of is I can create a page and have all the text- images- prices whatever load directly from my mysql file. I am interested in concepts like this since I am new to php/mysql. If you know of a different way then what I may be trying to do I am more than interested in knowing.

Hi - I am currently making a user login system. I follwed a tutorial on an about.com page. Its all great so far - i can register and it adds to database fine - when it comes to logging in its another story. I have copied the code correctly but when i try login it says


Warning: Cannot modify header information - headers already sent by (output started at /home/www/socialnetwork.atwebpages.com/login.php:7) in /home/www/socialnetwork.atwebpages.com/login.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home/www/socialnetwork.atwebpages.com/login.php:7) in /home/www/socialnetwork.atwebpages.com/login.php on line 60

Warning: Cannot modify header information - headers already sent by (output started at /home/www/socialnetwork.atwebpages.com/login.php:7) in /home/www/socialnetwork.atwebpages.com/login.php on line 62

I will post the lines which seem to be causing probs as addition info. Anyideas? Thanks.
Here is a few lines of code which the error message mentions.

$_POST[ username ] = stripslashes($_POST[ username ]);
$hour = time() + 3600;
(This is line 59)setcookie(ID_my_site- $_POST[ username ]- $hour);
(This is line 60) setcookie(Key_my_site- $_POST[ pass ]- $hour);
//then redirect them to the members area
(This is line 62) header("Location: members.php");


Any ideas please - any help will be great :)
Hi thanks for the first 2 answers - the very first line of my page starts:

<!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=iso-8859-1" />
<title>Login</title>
</head>
<?php

Then after i start my php i enter rest of the code.

does header need to go even before
<!DOCTYPE html PUBLIC "-//W3C//DTD .....

thanks - Please help its annoying me.
Thanks alot for all your help everyone - ive got it sorted - i swapperd the php and html code around.

Anyideas of how i can make it so when user loggs in they are taken to a personal page of there own - and not just a page tht is shared between all users. Please help me on this one - thanks.

When using Mysql- how do you change system values like- ft_min_word_len? I am trying to build a search but I want the search to allow words less than four letters- which is the default.

I have a 115 MB mySQL database on one of my osCommerce powered stores. The store has around 47-000 products in it. I have cached just about query I can for this store. On every page that displays a product price there are two queries that I cannot cache. It can take anywhere from 0.2 seconds to 2 seconds to run each of them. It takes about 3 seconds on average to load each page (plus download time).

I currently have this store on a vps with 256 MBs of RAM and 1% CPU time from eight 3.2 GHz Xeon cores.

Is there something I can do in the database to speed up the query times? Will upgrading to a 512 MB or 1024 MB VPS with 2% or 4% cpu time make much of a difference?

When using Mysql- how do you change system values like- ft_min_word_len? I am trying to build a search but I want the search to allow words less than four letters- which is the default.

I have a 115 MB mySQL database on one of my osCommerce powered stores. The store has around 47-000 products in it. I have cached just about query I can for this store. On every page that displays a product price there are two queries that I cannot cache. It can take anywhere from 0.2 seconds to 2 seconds to run each of them. It takes about 3 seconds on average to load each page (plus download time).

I currently have this store on a vps with 256 MBs of RAM and 1% CPU time from eight 3.2 GHz Xeon cores.

Is there something I can do in the database to speed up the query times? Will upgrading to a 512 MB or 1024 MB VPS with 2% or 4% cpu time make much of a difference?

How to add php and database to a website?
i am making a website and i am in the middle of constructing it -but i want to know how to put a navigation bar
for example: like a comment button that you click and you can leave a comment!
can anyone give me a website or a code?
please help
p.s. someone told me that If I want to put comments on my site i would need php and database like mysql to store comments. but i dont know how to get this and can anyone show me how to make it or is there a website that i can get it for FREE?
thanks

So at the bottom of the page it will say:

Query Execution Time: xxxx ms.
anyone?

The question is a bit confusing- so a little background...

On my website I have a table of paper types whose data mostly consists of numerical indexes into several other tables. One field- for example- is color. When I do a query into the paper table- I can sort by the ID of the color- but the color names in the color table aren t in any order in reference to their IDs. What I really need is some way to sort the results of my query by the name of the color- not by the ID. Follow?

In other words- sorting by ID groups all papers with the same color together- but the order of the groups is haphazard. I want the result set to be alphabetized by color NAME- which is a field available in the color table. Can I do that?

Hi- I m getting started with PHP- and I read that I should download Apache- PHP- and MySQL. I know what MySQL and PHP are- but I need to know what Apache is/does. It said it s a web server- but I don t know what that means. Any info on this or anything else I need to know for programming in PHP is greatly appreciated. Thanks!

I have a 115 MB mySQL database on one of my osCommerce powered stores. The store has around 47-000 products in it. I have cached just about query I can for this store. On every page that displays a product price there are two queries that I cannot cache. It can take anywhere from 0.2 seconds to 2 seconds to run each of them. It takes about 3 seconds on average to load each page (plus download time).

I currently have this store on a vps with 256 MBs of RAM and 1% CPU time from eight 3.2 GHz Xeon cores.

Is there something I can do in the database to speed up the query times? Will upgrading to a 512 MB or 1024 MB VPS with 2% or 4% cpu time make much of a difference?

How to add php and database to a website?
i am making a website and i am in the middle of constructing it -but i want to know how to put a navigation bar
for example: like a comment button that you click and you can leave a comment!
can anyone give me a website or a code?
please help
p.s. someone told me that If I want to put comments on my site i would need php and database like mysql to store comments. but i dont know how to get this and can anyone show me how to make it or is there a website that i can get it for FREE?
thanks

So at the bottom of the page it will say:

Query Execution Time: xxxx ms.
anyone?

The question is a bit confusing- so a little background...

On my website I have a table of paper types whose data mostly consists of numerical indexes into several other tables. One field- for example- is color. When I do a query into the paper table- I can sort by the ID of the color- but the color names in the color table aren t in any order in reference to their IDs. What I really need is some way to sort the results of my query by the name of the color- not by the ID. Follow?

In other words- sorting by ID groups all papers with the same color together- but the order of the groups is haphazard. I want the result set to be alphabetized by color NAME- which is a field available in the color table. Can I do that?

Hi- I m getting started with PHP- and I read that I should download Apache- PHP- and MySQL. I know what MySQL and PHP are- but I need to know what Apache is/does. It said it s a web server- but I don t know what that means. Any info on this or anything else I need to know for programming in PHP is greatly appreciated. Thanks!

OK. On my site- I have a form. The user enters a word ($word. Let s use the example "You d") and it transfered to another page using the POST function. On that page- I do a mysql_escape_string on $word (Now I get You\\\ d). After that- it is put into a MySQL database (Where it is stored as You\ d). Follow me so far?

On another page- I retrieve that word. Now- when I try to do the SELECT function for MySQL- I say

"SELECT * FROM $table WHERE word= You\ d "

For some reason- it actually looks for "You\\\\\\\ d" and of course- it doesn t find it. Does anyone have ANY suggestions? I m in a pickle here. You get best answer for trying.

Friday, June 27, 2008

I have a 115 MB mySQL database on one of my osCommerce powered stores. The store has around 47-000 products in it. I have cached just about query I can for this store. On every page that displays a product price there are two queries that I cannot cache. It can take anywhere from 0.2 seconds to 2 seconds to run each of them. It takes about 3 seconds on average to load each page (plus download time).

I currently have this store on a vps with 256 MBs of RAM and 1% CPU time from eight 3.2 GHz Xeon cores.

Is there something I can do in the database to speed up the query times? Will upgrading to a 512 MB or 1024 MB VPS with 2% or 4% cpu time make much of a difference?

How to add php and database to a website?
i am making a website and i am in the middle of constructing it -but i want to know how to put a navigation bar
for example: like a comment button that you click and you can leave a comment!
can anyone give me a website or a code?
please help
p.s. someone told me that If I want to put comments on my site i would need php and database like mysql to store comments. but i dont know how to get this and can anyone show me how to make it or is there a website that i can get it for FREE?
thanks

So at the bottom of the page it will say:

Query Execution Time: xxxx ms.
anyone?

The question is a bit confusing- so a little background...

On my website I have a table of paper types whose data mostly consists of numerical indexes into several other tables. One field- for example- is color. When I do a query into the paper table- I can sort by the ID of the color- but the color names in the color table aren t in any order in reference to their IDs. What I really need is some way to sort the results of my query by the name of the color- not by the ID. Follow?

In other words- sorting by ID groups all papers with the same color together- but the order of the groups is haphazard. I want the result set to be alphabetized by color NAME- which is a field available in the color table. Can I do that?

Hi- I m getting started with PHP- and I read that I should download Apache- PHP- and MySQL. I know what MySQL and PHP are- but I need to know what Apache is/does. It said it s a web server- but I don t know what that means. Any info on this or anything else I need to know for programming in PHP is greatly appreciated. Thanks!

OK. On my site- I have a form. The user enters a word ($word. Let s use the example "You d") and it transfered to another page using the POST function. On that page- I do a mysql_escape_string on $word (Now I get You\\\ d). After that- it is put into a MySQL database (Where it is stored as You\ d). Follow me so far?

On another page- I retrieve that word. Now- when I try to do the SELECT function for MySQL- I say

"SELECT * FROM $table WHERE word= You\ d "

For some reason- it actually looks for "You\\\\\\\ d" and of course- it doesn t find it. Does anyone have ANY suggestions? I m in a pickle here. You get best answer for trying.

So at the bottom of the page it will say:

Query Execution Time: xxxx ms.
anyone?

The question is a bit confusing- so a little background...

On my website I have a table of paper types whose data mostly consists of numerical indexes into several other tables. One field- for example- is color. When I do a query into the paper table- I can sort by the ID of the color- but the color names in the color table aren t in any order in reference to their IDs. What I really need is some way to sort the results of my query by the name of the color- not by the ID. Follow?

In other words- sorting by ID groups all papers with the same color together- but the order of the groups is haphazard. I want the result set to be alphabetized by color NAME- which is a field available in the color table. Can I do that?

Hi- I m getting started with PHP- and I read that I should download Apache- PHP- and MySQL. I know what MySQL and PHP are- but I need to know what Apache is/does. It said it s a web server- but I don t know what that means. Any info on this or anything else I need to know for programming in PHP is greatly appreciated. Thanks!

OK. On my site- I have a form. The user enters a word ($word. Let s use the example "You d") and it transfered to another page using the POST function. On that page- I do a mysql_escape_string on $word (Now I get You\\\ d). After that- it is put into a MySQL database (Where it is stored as You\ d). Follow me so far?

On another page- I retrieve that word. Now- when I try to do the SELECT function for MySQL- I say

"SELECT * FROM $table WHERE word= You\ d "

For some reason- it actually looks for "You\\\\\\\ d" and of course- it doesn t find it. Does anyone have ANY suggestions? I m in a pickle here. You get best answer for trying.

I am trying to run a site with Geocities- (because it s what I m familiar with/don t have a lot of money to start site)- and I am having a bit of trouble figuring out how to install Zen Cart.
I m not very proficient with FTP- either.

Here are the details:
I created the MySql and then I also made the catalog folder for the actualy Zen Cart stuff. But when I try to copy it into the FTP- it gives me a Critical Error for the .htaccess files.
Am I putting them in the wrong folder?
Should the catalog folder NOT be in the mysql folder?
Will they just simply not work with Geocities?
I have the small business account and the ftp is running smoothly- so I don t know what it could be.

Sorry if I seem ignorant to the subject- it s just a lot of stuff I don t know a lot about but would like to know more about. Any help would be greatly appreciated!

I am making a website and I just got to know something called MySQl. So- what is MySQL and what can it be used for??

I am making a website and I just got to know something called MySQl. So- what is MySQL and what can it be used for??

hello- i m makeing a website but i don t know how to make a database for my website- for stuff like signing up and when people buy stuff like purchaseing membership.
i know the verry basics of mysql but it wasnt for a website it was fro a game. I don t know if that makes it any different- i also have used navicat because i didn t know how to change and navigate through msql that well.

i hav this weird issue- i ve never seen before. I have a search engine in my site and it works - i mean it finds results - only if i look for "icrosoft" instead of "Microsoft"- or "anasonic" instead of "panasonic"... what the problem could be?? i didnt set the mysql and the search engine was made almost by other guys...so i dont know where to put my hands on...

Ask: How can i change the root password to something else- the password who connects to the MySql- i dont want to change the mysql password.

I am a new php programmer -would any help me to Install php -run helloworld.php-and connect with MySql data base ?
what kind of softwares i need to install on my win xp OS. in order to run .php and mysql datebase connected programs.
thank you

I want to compile and execute .php files? for this i m using phptaid software? although i run some .php simple program i.e arrays -varialbe but i did not know how i would connect Mysql with Php files as i were using Phptaid software kindly anyone help me? would it necessary to install MySql and php if yes kindly give me link where i would easily download php and Mysql both software link which make me able to execute my php pages as below //localhost/example/filename.php

I have a little knowledge of PHP and MySQL (to the point of being able to create a simple content management system of my own) and would like to start learning Drupal.

Right now- the Drupal manual/documentations don t make much of a sense- as this is my first time attempting with a framework. I would love for you to give me tips on how to get started with Drupal.

Thanks much.
@wunti: I already know what it is. ;;

Hi I have installed the .zip file for simple forums machine and how do i put the forum onto my website using mysql or php myadmin?

I am looking for a free simple MySQL database for US Car make model and possibly EPA rating. Does anyone know where can I download it for free

Is there a way to create a query that only updates if the passed value is greater than the current value.. something like this (obviously doesn t work but portray intent):

UPDATE `table` SET (if `field < $total ) {`field` = $total } WHERE `ID` = $id ;

I am using a simple php login script uses a mysql database. there is also an add user function. I need to set a minimum character limit so that someone doesn t just hit add user- adding blank values- and letting anyone login by just clicking login. Help would be great. Thanks- Tim

How much is a MySQL database and where do i get one

Thursday, June 26, 2008

I am looking for a free simple MySQL database for US Car make model and possibly EPA rating. Does anyone know where can I download it for free

Is there a way to create a query that only updates if the passed value is greater than the current value.. something like this (obviously doesn t work but portray intent):

UPDATE `table` SET (if `field < $total ) {`field` = $total } WHERE `ID` = $id ;

I am using a simple php login script uses a mysql database. there is also an add user function. I need to set a minimum character limit so that someone doesn t just hit add user- adding blank values- and letting anyone login by just clicking login. Help would be great. Thanks- Tim

How much is a MySQL database and where do i get one

I ve been trying to make it so I dont have upload my php files to my webhost every time I change something to see if its working- I ve gone to php.net and mysql.com and I couldn t get them working.

Someone said I try WOS Portable- which I ve got installed- but still the files dont show the PHP- another friend said EasyPHP but I cant get that to work either.

Does anyone have any ideas?

I am trying to select a bunch of information from a single database and then present it in the form of a table on my webpage. The data comes out fine but is just formated in block text with no table features.


Code:
$sql = "SELECT * FROM Software;";
$result = mysql_query($sql);
echo <table> ;
while($row = mysql_fetch_array($result))
{
echo <th>- . $row[ name ] . -</th> ;
echo <tr> . $row[ website ] . </tr> ;
echo <tr> . $row[ description ] . </tr> ;
echo <tr> . $row[ up ] . - . $row[ down ] . </tr> ;

}
echo </table> ;
mysql_close($db);

Is there a way to create a query that only updates if the passed value is greater than the current value.. something like this (obviously doesn t work but portray intent):

UPDATE `table` SET (if `field < $total ) {`field` = $total } WHERE `ID` = $id ;

I am using a simple php login script uses a mysql database. there is also an add user function. I need to set a minimum character limit so that someone doesn t just hit add user- adding blank values- and letting anyone login by just clicking login. Help would be great. Thanks- Tim

How much is a MySQL database and where do i get one

I ve been trying to make it so I dont have upload my php files to my webhost every time I change something to see if its working- I ve gone to php.net and mysql.com and I couldn t get them working.

Someone said I try WOS Portable- which I ve got installed- but still the files dont show the PHP- another friend said EasyPHP but I cant get that to work either.

Does anyone have any ideas?

I am trying to select a bunch of information from a single database and then present it in the form of a table on my webpage. The data comes out fine but is just formated in block text with no table features.


Code:
$sql = "SELECT * FROM Software;";
$result = mysql_query($sql);
echo <table> ;
while($row = mysql_fetch_array($result))
{
echo <th>- . $row[ name ] . -</th> ;
echo <tr> . $row[ website ] . </tr> ;
echo <tr> . $row[ description ] . </tr> ;
echo <tr> . $row[ up ] . - . $row[ down ] . </tr> ;

}
echo </table> ;
mysql_close($db);

Hello-

Im trying to set up a MySQL databse automatically in an auto-installer. Im being prompted for the following info:

Host Name
This is usually localhost
MySQL User Name
Either something as root or a username given by the hoster
MySQL Password
For site security using a password for the mysql account is mandatory
MySQL Database Name
Set the database name for your new PHP-Nuke powered site.

It is giving me the error: Username/Password incorrect. What would my Hostname typically be? What would my username be- or is that asking me to create one? Because when i make one up- it says wrong username and password.

Cheers

How much is a MySQL database and where do i get one

I ve been trying to make it so I dont have upload my php files to my webhost every time I change something to see if its working- I ve gone to php.net and mysql.com and I couldn t get them working.

Someone said I try WOS Portable- which I ve got installed- but still the files dont show the PHP- another friend said EasyPHP but I cant get that to work either.

Does anyone have any ideas?

I am trying to select a bunch of information from a single database and then present it in the form of a table on my webpage. The data comes out fine but is just formated in block text with no table features.


Code:
$sql = "SELECT * FROM Software;";
$result = mysql_query($sql);
echo <table> ;
while($row = mysql_fetch_array($result))
{
echo <th>- . $row[ name ] . -</th> ;
echo <tr> . $row[ website ] . </tr> ;
echo <tr> . $row[ description ] . </tr> ;
echo <tr> . $row[ up ] . - . $row[ down ] . </tr> ;

}
echo </table> ;
mysql_close($db);

Hello-

Im trying to set up a MySQL databse automatically in an auto-installer. Im being prompted for the following info:

Host Name
This is usually localhost
MySQL User Name
Either something as root or a username given by the hoster
MySQL Password
For site security using a password for the mysql account is mandatory
MySQL Database Name
Set the database name for your new PHP-Nuke powered site.

It is giving me the error: Username/Password incorrect. What would my Hostname typically be? What would my username be- or is that asking me to create one? Because when i make one up- it says wrong username and password.

Cheers

I m currently looking for a not-so-expensive hosting provider for my website. I ll be installing some web applications like vtiger CRM which requires Apache 2.x- PHP 5.x- and MySQL support. Does Yahoo Small Business hosting support PHP 5.x and MySQL?
I m also looking at omnis.com as a potential contender. Please help me decide. Thanks!

OK - I m building a website at the moment- and I want it to send the info to a MySQL database (you get 10 from GoDaddy)- but (and this is probably a stupid question- because this the first ever time I ve tried this)- I don t have any database software onmy PC - I don t have Access.

Can you tell me if I need one- or is the database online? Like GoogleDocs- but not?

I don t think I m very good at explaining so: Is the MySQL database with all of the data- accessed on the internet?

Please help!

I m currently looking for a not-so-expensive hosting provider for my website. I ll be installing some web applications like vtiger CRM which requires Apache 2.x- PHP 5.x- and MySQL support. Does Yahoo Small Business hosting support PHP 5.x and MySQL?
I m also looking at omnis.com as a potential contender. Please help me decide. Thanks!

OK - I m building a website at the moment- and I want it to send the info to a MySQL database (you get 10 from GoDaddy)- but (and this is probably a stupid question- because this the first ever time I ve tried this)- I don t have any database software onmy PC - I don t have Access.

Can you tell me if I need one- or is the database online? Like GoogleDocs- but not?

I don t think I m very good at explaining so: Is the MySQL database with all of the data- accessed on the internet?

Please help!

I need a website that allows a user to upload pictures with descriptions- browse the database of pictures based on keywords search- and displays the pictures via category.

Is there a template- or an application- or anything really that makes this simpler than coding the whole thing in mysql from scratch? Coding is really not my thing- and any help would be very much appreciated.

Ok so basically I am making a website for a local sports team. I have made a form where I can upload scores ect. What I want is to be able to uploadreviews of the game.

The way I would like to do this is by writing the review in word(or notepad if i cant do it in word) and save it as a .doc file(or .txt). Then have it upload to my mysql database. I already know how to write the code to upload files to the database.

I don t know the best way to do this. Is there a way to upload the file and then display it on my webpage with the same formatting? (without using frames)

Or would I have to read the contents from the document and store that in my database and then display it.

Can someone help point out the best way to do this? Thanks

How can i creat an messenger ?

I want to create an messenger for my home network i have 3 computers and i wanna a meesenger to talk only these three computers...

Requierments :

MySQL Database - I have it
MySQL Service - I have
WWW ( Port 80 ) service - I have
Internet Connection - I have - low speed
PHP Knowledge - I know

This seems simple enough but why am i unable to divide and display $ratio?

echo "<h3>Clan Statistics</h3>";
$wins = 0;
$losses = 0;
$ties = 0;
while($row = mysql_fetch_assoc($result))
{
if($row[ our_score ] > $row[ op_score ])
{
$wins += 1;
}
elseif($row[ our_score ] < $row[ op_score ])
{
$losses += 1;
}
else
{
$ties += 0;
}
}

$ratio = $wins/$losses;

echo "<h3>Record: " . $wins . "-" . $losses . "-" . $ties . "</h3>";
echo "<h3>Win/loss Ratio: " . $ratio . "</h3>";

Wednesday, June 25, 2008

This seems simple enough but why am i unable to divide and display $ratio?

echo "<h3>Clan Statistics</h3>";
$wins = 0;
$losses = 0;
$ties = 0;
while($row = mysql_fetch_assoc($result))
{
if($row[ our_score ] > $row[ op_score ])
{
$wins += 1;
}
elseif($row[ our_score ] < $row[ op_score ])
{
$losses += 1;
}
else
{
$ties += 0;
}
}

$ratio = $wins/$losses;

echo "<h3>Record: " . $wins . "-" . $losses . "-" . $ties . "</h3>";
echo "<h3>Win/loss Ratio: " . $ratio . "</h3>";

I m curious

I ve got a PHP Guestbook on my website with the tables and database hosted by MySQL.

The PHP Guestbook defines the look- as well as how it s displayed (referencing the MySQL database).

I ve got a couple of TEST logs in the guestbook that are now viiewable on the site.

My question is- how do I manage/delete these?

It should be located SOMEWHERE on the MySQL Database right?
I assume all the data is logged there- is that correct?
If so- can you direct me as to where i should look?

Cheers guys!
Yea- I used phpMyAdmin to make the tables and stuff- but i for some stupid reason just can t find where all the data is being logged at.
I ll check again....hmmmmm

I just can t figure out what is wrong with this sql line. Any suggestions?
$sql = "SELECT Match.*
FROM Match
WHERE Match.clan_id = 1
ORDER BY dateposted DESC LIMIT 1;";

Error I am receiving:
DB connect failed: 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 Match WHERE Match.id = 1 ORDER BY dateposted DESC LIMIT 1 at line 2

I seem to get these errors just with the script. Parse error: parse error- unexpected { on line 15.

The thing is I have the same script running on a Host Gator account- that registers- uploads photos and video. Godaddy sucks when it comes to hosting. It took me a while to find out how to even connect to the host using WSFTP.

I am using PHP 5 coding and I m supposed to be connected to a MYSQL 5 db. I think the MSQL version is still in 4 even though they give you the option to use 5. If anyone has any solutions reply back soon. Thanks!

hi- i m having a problem finding a Query that will do what I need to do. to simplify this question I ll go through it with this example:

id------num
1---------9
2---------10
3---------10
4---------12
5---------12

i want an output to be like : 9-10-12.
the only thing that came close to what i have searched is: "SELECT DISTINCT num FROM `random`"- but this only gives me 1 number.

can someone help me out here?
thx

locally and when ready simply upload to my server and it will be accessible and live- is there such an all in one solution?

hi- i m having a problem finding a Query that will do what I need to do. to simplify this question I ll go through it with this example:

id------num
1---------9
2---------10
3---------10
4---------12
5---------12

i want an output to be like : 9-10-12.
the only thing that came close to what i have searched is: "SELECT DISTINCT num FROM `random`"- but this only gives me 1 number.

can someone help me out here?
thx

locally and when ready simply upload to my server and it will be accessible and live- is there such an all in one solution?

Hey - Im currently creating a user registration and login page with mysql and php using dreamweaver. My Mysql database is hosted online and uses Phpmyadmin. My infomation is correct but its not working. Everytime i click Register it says No database selected. Can someone explain whats wrong. Also how should i connect just so i know im doing it correct. Anything would be great. Thanks!
mysql_select_db("login"); - this is what i have to select the database already - login is the table name- is that something to do with it.
Should i connect to database or table. Basically i login using Phpmyadmin - then i select my database then table. My Table is called login.

<?
mysql_connect("db.fdb1.runhosting.com"- "128435_fs"- "-SECRET-");
mysql_select_db("login");
?>

that is my currecnt connecting code. The First bit is the host address - the next bit is phpmyadmin login - the password then login is the name of my table which i am trying to access.

Anyideas Please
OH HANG ON...

Just Messed with the Database and connected to the db not table. It now seems not to be returning an error but not actually adding the registration infomation to database. Also Login doesnt recoqnise it. Anyideas on this one?

Im working on a programming project which is by C# lang and mysql database.
What I want is when I enter a code number for example student s code in a textbox- after pressing "Enter" key- the rest of the form get filled automatically. (the rest of teh data like name or grades are all in the database).
I can insert data from c# to mysql but I cant retrieve data from mysql to C# environment...
P-S
I have done this by mysql_fetch_array with PHP lang

I use CentOS linux. Which MySQL RPM should I get? I don t see one listed for CentOS. (not using XAMPP)

I know how to use Joomla! but I`m not sure what MySQL and PHP have to do with Joomla! When I used it- someone helped me install it and helped me convert my html into Joomla! Do I need to know PHP to do that?

I know how to use Joomla! but I`m not sure what MySQL and PHP have to do with Joomla! When I used it- someone helped me install it and helped me convert my html into Joomla! Do I need to know PHP to do that?

I m looking for something to do in the college holidays apart from working- and I ve always been interested in web design- but due to college and work not had any time for it lately.

I would like to learn php and mysql and hopefully code a text based RPG by myself.

Can anyone recommend any good books that I could learn these from? Or websites- however I would rather books as I can read them during my breaks at work etc.

Thanks :)

here is what I am trying to do. but it is still displaying things that active is set to no.

$results = mysql_query("SELECT * FROM book_details WHERE description LIKE %$q% || author_name LIKE %$q% || photog1 LIKE %$q% || photog2 LIKE %$q% || title LIKE %$q% || subtitle LIKE %$q% && active= yes ORDER BY title ASC");

look at this sreenshot :

error:
http://clip2net.com/clip/m3651/1213790907-clip-18kb.jpg

connection setting:
http://clip2net.com/clip/m3651/1213791002-clip-11kb.jpg

mysql setting:
http://clip2net.com/clip/m3651/1213711932-clip-14kb.jpg

i have tried hundreds of times! WTF?

The simplest thing I need is either a good site where i can see how to make MMO with PHP or atleast a site with random PHP codes for website games...

When i try to connect it gives me the error "Access denied for user root@localhost (Using Password :NO).Please help what can i do?

look at this sreenshot :

error:
http://clip2net.com/clip/m3651/1213790907-clip-18kb.jpg

connection setting:
http://clip2net.com/clip/m3651/1213791002-clip-11kb.jpg

mysql setting:
http://clip2net.com/clip/m3651/1213711932-clip-14kb.jpg

i have tried hundreds of times! WTF?

The simplest thing I need is either a good site where i can see how to make MMO with PHP or atleast a site with random PHP codes for website games...

When i try to connect it gives me the error "Access denied for user root@localhost (Using Password :NO).Please help what can i do?

I want to create a database on WAMP server- but there is a problem. i don t understand about it- help me to create it. and also there is a massage

Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default- is open to intrusion- and you really should fix this security hole.

How an i fix it.... Thanks

Hello everyone. I am the admin of furfags.com- which is basically just a community forum. I am currently hosted at 1and1.com. However- over the past few months- I have been seeing- with increasing frequency- error 500 (server error) on every single page. I have called 1and1 and they claim to be "running fixes" but nothing seems to work. Every day- I see error 500s and it is beginning to affect almost every page making the website just about unusable. So- I am looking to change web hosts. The webhost must contain the following:

- PHP Support with atleast 2 MySQL databases.
- PHP5
- Support for transferring a pre-existing domain name (furfags.com).
-E-mail at my website.

Currently I get this at 1and1.com for 3.99 a month. I would like a similar price and features:
- 10 GB webspace
- 300 GB monthly bandwidth
- FTP Access
- One free domain

Thank you for all your help. Person who answers with the webhost I pick will get best answer.
Yes- yes- yiff in hell- thats really original. Thanks.

so the tables in a MySQL database are in XML format?

Tuesday, June 24, 2008

so the tables in a MySQL database are in XML format?

i m putting this as a totally random programming language right now. Currently i m learning or intend to learn the following

C++
C#
Java
PHP
MySQL
HTML
CSS

(ok i already know HTML and CSS and you can hardly call either of them programming- so sue me)

Anyway- i do most of my programming work currently in windows- although i soon intend to switch out to coding in linux. Just wanted to ask what OS most people program in- and what IDE (if any( you use.
For the C languages etc i m using visual studio at the moment.

Using Textpad for Java- although i ll probably be moving over to eclipse at a later stage... we use JKreator or whatever its called at uni- but i dispise that program.

no idea what i m gonna be learning php and mysql on.
JCreator is the thing of the past- now that Eclipse and Netbeans have stepped in.

i know what you mean- i m definatly taking a look at netbeans- because if 1 IDE can cover all the languages i wnt to learn (save c#) then its definatly worth looking into.

Can t stand JCreator. We had a timed assessment... two problems came up.

1: jCreator refused to compile... anything. It wouldn t even compile bloody hello world.

2: i had to start from scratch 4 times because the program crashed and i lost my work.

I am looking for some free online forum software for my website- www.freeonlineforum.com

I need it to be easy to install and use- and fairly versatile.

I am using Bluehost to host my website. it has mySQL and postgreSQL databases.

Thanks for your help

For making PHP games- having my own server and stuff like that.

How to install a wordpress blog on dedicated server?
I don t know how to create mysql database? plz. let me know that also.

I am able to pass a single variable like www.abc.com/page.php?date=01/01/08
Put what if I wanted to use a date range. I am able to do it using a form- but unable to do it with a url.
The page I have processing the data for multiple dates uses
$result = mysql_query("SELECT * FROM inspection WHERE date>= $date_begin and date<= $date_end ORDER BY date "-$db);
How do I pass multiple variables using a web url to a php page?
I am able to pass a single variable like www.abc.com/page.php?date=01/01/08 to a page with
$result = mysql_query("SELECT * FROM inspection WHERE date= $date ORDER BY date "-$db);
But what if I wanted to use a date range. I am able to do it using a form- but unable to do it with a url.
The page I have processing the data for multiple dates uses
$result = mysql_query("SELECT * FROM inspection WHERE date>= $date_begin and date<= $date_end ORDER BY date "-$db);

For making PHP games- having my own server and stuff like that.

How to install a wordpress blog on dedicated server?
I don t know how to create mysql database? plz. let me know that also.

I am able to pass a single variable like www.abc.com/page.php?date=01/01/08
Put what if I wanted to use a date range. I am able to do it using a form- but unable to do it with a url.
The page I have processing the data for multiple dates uses
$result = mysql_query("SELECT * FROM inspection WHERE date>= $date_begin and date<= $date_end ORDER BY date "-$db);
How do I pass multiple variables using a web url to a php page?
I am able to pass a single variable like www.abc.com/page.php?date=01/01/08 to a page with
$result = mysql_query("SELECT * FROM inspection WHERE date= $date ORDER BY date "-$db);
But what if I wanted to use a date range. I am able to do it using a form- but unable to do it with a url.
The page I have processing the data for multiple dates uses
$result = mysql_query("SELECT * FROM inspection WHERE date>= $date_begin and date<= $date_end ORDER BY date "-$db);

i am making a website and i am in the middle of constructing it -but i want to know how to put a navigation bar
for example: like a comment button that you click and you can leave a comment!
can anyone give me a website or a code?
please help
p.s. someone told me that If I want to put comments on my site i would need php and database like mysql to store comments. but i dont know how to get this and can anyone show me how to make it or is there a website that i can get it for FREE?
thanks
does http://www.e107.org

download to my site or my computer?

Hello all-

I have a large file (1.7million lines) that I wrote a script for in php to import into a mysql database. It takes 269 seconds to run and during that time my CPU usage only peaks at 33%- my question is why?

Is there some sort of throttling on php or mysql that I ve missed in the config... I don t understand why else it wouldn t try to use all the power available to import faster.

For the record- the quantity of data is 200MB- the data throughput of my RAID hard disk array is 300MB/s so it can t be that. I also have 8GB of RAM so it s not got a problem there.

Any ideas?
It s a quad processor. Is the reason then- that Apache can only use one core per script? I thought there was a way to distribute it and simulate a single core across them all...

Hi-
I have just installed wamp5 on my pc as need to do some PHP work! Either one or two things are happeneing here and I don t know why

I am having real problems connecting to the database I have created through PHP code! I have made a small php page to test the connection thus;

<?php
$username = "root";
$hostname = "localhost";
$dbh = mysql_connect($hostname- $username)
or die("Unable to connect to MySQL");
print "Connected to MySQL<br>";

mysql_close($dbh);
?>

After running this page in a web browser this is all I get!

"; mysql_close($dbh); ?>

Neither an error message or the succesfull message is ran through!

Also does anyone know how to change the password using phpmyadmin

I am using WIndows XP SP2

Many thanks

I am able to pass a single variable like www.abc.com/page.php?date=01/01/08
Put what if I wanted to use a date range. I am able to do it using a form- but unable to do it with a url.
The page I have processing the data for multiple dates uses
$result = mysql_query("SELECT * FROM inspection WHERE date>= $date_begin and date<= $date_end ORDER BY date "-$db);
How do I pass multiple variables using a web url to a php page?
I am able to pass a single variable like www.abc.com/page.php?date=01/01/08 to a page with
$result = mysql_query("SELECT * FROM inspection WHERE date= $date ORDER BY date "-$db);
But what if I wanted to use a date range. I am able to do it using a form- but unable to do it with a url.
The page I have processing the data for multiple dates uses
$result = mysql_query("SELECT * FROM inspection WHERE date>= $date_begin and date<= $date_end ORDER BY date "-$db);

i am making a website and i am in the middle of constructing it -but i want to know how to put a navigation bar
for example: like a comment button that you click and you can leave a comment!
can anyone give me a website or a code?
please help
p.s. someone told me that If I want to put comments on my site i would need php and database like mysql to store comments. but i dont know how to get this and can anyone show me how to make it or is there a website that i can get it for FREE?
thanks
does http://www.e107.org

download to my site or my computer?

Hello all-

I have a large file (1.7million lines) that I wrote a script for in php to import into a mysql database. It takes 269 seconds to run and during that time my CPU usage only peaks at 33%- my question is why?

Is there some sort of throttling on php or mysql that I ve missed in the config... I don t understand why else it wouldn t try to use all the power available to import faster.

For the record- the quantity of data is 200MB- the data throughput of my RAID hard disk array is 300MB/s so it can t be that. I also have 8GB of RAM so it s not got a problem there.

Any ideas?
It s a quad processor. Is the reason then- that Apache can only use one core per script? I thought there was a way to distribute it and simulate a single core across them all...

Hi-
I have just installed wamp5 on my pc as need to do some PHP work! Either one or two things are happeneing here and I don t know why

I am having real problems connecting to the database I have created through PHP code! I have made a small php page to test the connection thus;

<?php
$username = "root";
$hostname = "localhost";
$dbh = mysql_connect($hostname- $username)
or die("Unable to connect to MySQL");
print "Connected to MySQL<br>";

mysql_close($dbh);
?>

After running this page in a web browser this is all I get!

"; mysql_close($dbh); ?>

Neither an error message or the succesfull message is ran through!

Also does anyone know how to change the password using phpmyadmin

I am using WIndows XP SP2

Many thanks

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at reading initial communication packet - system error: 111 in /var/www/www.mininova.org/mysql.inc.php on line 8
Cannot connect to MySQL server... Please wait a few seconds and reload this page (F5). (frontend-5)

Hi- what s the cheapest web hosting ? I want something under £1 a month or £20 a year. It must have at least 1 MySQL database and FTP access- does anyone know ?

I am trying to import a 700 MB SQL dump into mysql service hosted by Yahoo small biz - and a phpmyadmin does not support such large files. And another php scripts fails due to memory limit...I

I dont remeber my MySQL password(or at least it doesnt want to accept the password it mostly likly is...). I un-installed and re-installed MySQL so that i could make a new password. Well- it wants me to type my origanal password to create a new password for the origanal... How do i create a new password???

i ve been trying to use mysqldump but a syntax error 1064 always pops up. I don t think I ve changed my username and my password is password so I ve been putting in the following:

mysqldump -u root -p password -d

But it results in an error. Help anyone?
im using windows. tried installing phpmyadmin- but its a real b*tch.

I m familiar with msconfig on Windows- but how would I go about turning off tasks that startup (such as MySQL) on my Ubuntu box? I used to do MySQL development- but no longer (unless I got some new project based work for it...).
in GNOME it s System --> Preferences or System --> Administration. Is there no command line tool to do this?
@kingcomp- your link is dead...
@Hippie Chick- there doesn t appear to be a webmin package in apt-get- which is what I was going to do. :) I ll look into downloading the tar tomorrow...bed time now.
@X- I think those are programs the user starts. MySQL does not show up under Sessions- but if I log in in verbose mode I see it start up and also if I do ps -A mysql shows up.
@Hippie Chick- Re: EDIT: I do have universe activated and have for over a year.

"user@linux-laptop:~$ sudo apt-get install webmin
[sudo] password for whitdoug:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package webmin is not available- but is referred to by another package.
This may mean that the package is missing- has been obsoleted- or
is only available from another source
E: Package webmin has no installation candidate

user@linux-laptop:~$ sudo apt-cache search webmin"

that last command returns no results
@Hippie Chick- ok- I used the *.deb from the site- but now I don t know how to access it!
@Hippie Chick- ok- I got webmin install and accessed it via localhost:10000. Now to figure out how to turn things off :)

It makes a service for almost a year.. but after the typhoon and having no electricity for almost one month.... It will no longer connect and serve to other PCs as it serves before.... I already re-installed everything... Can someone help me makes run again my php program to reconnect to other PCs and makes a service... All our network PCs can communicate using ping... can share internet and files but only the apache server won t work.... I already configured the httpd.conf for the path of datas and server root. But on the server PC where I installed my PHP Mysql and Apache it works ....... only not in the service to other PCs... Help me please to reconfigure...

I have a website made of php that I do not know how to upload to my server. it is mysql based as well. Please help.
Thanks

Monday, June 23, 2008

I will soon have a MySQL table with about 1-000-000-000 entrys- how long would it take to query and return a result?

(if each entry was 20 characters long)

storing password as a hashed code is common. i need some general efficient idea or some code for a two way hashing php function- to store passwords in a mySQL db. thanks.

I just want to get the first record.

I just started developing PHP. I m trying to build an address book application for practice.
<?php
if (isset($_POST[ submit ]))
{
$valid_form = true;

if ($_POST[ UName ] == "")
{
$usernameerror = "Please enter a valid username";
$valid_form = false;
}
else
{
$usernameerror = ;
$Name = $_POST[ UName ];
}
if ($_POST[ Password ] == "")
{
$passworderror = "Please enter a valid password";
$valid_form = false;
}
else
{
$passworderror = ;
$Pword = $_POST[ password ];
}
if ($valid_form == true){
$host = "localhost";
$user = "root";
$password = "mysql";
$dbname = "addressbook";
$cxn = mysqli_connect ($host-$user-$password-$dbname) or die
("Cannot connect to database at this time!");
$query = "SELECT * from Login where UName= $Name ";
$results = mysqli_query($cxn- $query);
$row = mysqli_fetch_array($results- MYSQL_MYSQL_ASSOC);
if ($row[ UName ] == $Name AND $row[ Paword ] == $Pword)
{
echo "Logged in!";
}
else
{
$invalid = "Invalid username/password combination. Pl
The MYSQL_MYSQL_ASSOC is just MYSQL_ASSOC. It got messed up when I was pasting it in!

the query below does NOT sort date properly either by asc (the default) or desc:

"select Title- date_format(Date- %d %M- %Y ) as Date from Table1 order by Date";

i wish to have things like: June 30- June 15- May 24 etc- to show latest articles first.

what to do?

zank you.
fps_dean: thanks for input; the date is set in mySQL as 0000-00-00 (Year- month- day) and then i format it using the date_format function. My problem is with sorting- it does not show the latest articles first.

I can code XHTML/CSS very well. I ve used PHP to an extent; I can read through it and usually follow what is going on. I can make small edits to open source software on my own. But thats all.

How fast would you say it would take me to learn PHP to the point where I could write my own simple scripts that interacted with a MySQL database? What is the best way to learn?

Sunday, June 22, 2008

storing password as a hashed code is common. i need some general efficient idea or some code for a two way hashing php function- to store passwords in a mySQL db. thanks.

I just want to get the first record.

I just started developing PHP. I m trying to build an address book application for practice.
<?php
if (isset($_POST[ submit ]))
{
$valid_form = true;

if ($_POST[ UName ] == "")
{
$usernameerror = "Please enter a valid username";
$valid_form = false;
}
else
{
$usernameerror = ;
$Name = $_POST[ UName ];
}
if ($_POST[ Password ] == "")
{
$passworderror = "Please enter a valid password";
$valid_form = false;
}
else
{
$passworderror = ;
$Pword = $_POST[ password ];
}
if ($valid_form == true){
$host = "localhost";
$user = "root";
$password = "mysql";
$dbname = "addressbook";
$cxn = mysqli_connect ($host-$user-$password-$dbname) or die
("Cannot connect to database at this time!");
$query = "SELECT * from Login where UName= $Name ";
$results = mysqli_query($cxn- $query);
$row = mysqli_fetch_array($results- MYSQL_MYSQL_ASSOC);
if ($row[ UName ] == $Name AND $row[ Paword ] == $Pword)
{
echo "Logged in!";
}
else
{
$invalid = "Invalid username/password combination. Pl
The MYSQL_MYSQL_ASSOC is just MYSQL_ASSOC. It got messed up when I was pasting it in!

the query below does NOT sort date properly either by asc (the default) or desc:

"select Title- date_format(Date- %d %M- %Y ) as Date from Table1 order by Date";

i wish to have things like: June 30- June 15- May 24 etc- to show latest articles first.

what to do?

zank you.
fps_dean: thanks for input; the date is set in mySQL as 0000-00-00 (Year- month- day) and then i format it using the date_format function. My problem is with sorting- it does not show the latest articles first.

I can code XHTML/CSS very well. I ve used PHP to an extent; I can read through it and usually follow what is going on. I can make small edits to open source software on my own. But thats all.

How fast would you say it would take me to learn PHP to the point where I could write my own simple scripts that interacted with a MySQL database? What is the best way to learn?

For the life of me I can not find any help(tutorial) or script.. on how to create a working "user-inputed" search field that would search the working website and a Mysql database. I m trying to build a "Real Estate" website and incorporate a search function that would be able to search through the listings that I would add to the database. I ve spent the last two days looking at everything I could find on the web but- I got nothing that seems to work.. If anyone knows what I m attempting to do and could offer some help.. I ll take it.

Thanks- John.

I just started developing PHP. I m trying to build an address book application for practice.
<?php
if (isset($_POST[ submit ]))
{
$valid_form = true;

if ($_POST[ UName ] == "")
{
$usernameerror = "Please enter a valid username";
$valid_form = false;
}
else
{
$usernameerror = ;
$Name = $_POST[ UName ];
}
if ($_POST[ Password ] == "")
{
$passworderror = "Please enter a valid password";
$valid_form = false;
}
else
{
$passworderror = ;
$Pword = $_POST[ password ];
}
if ($valid_form == true){
$host = "localhost";
$user = "root";
$password = "mysql";
$dbname = "addressbook";
$cxn = mysqli_connect ($host-$user-$password-$dbname) or die
("Cannot connect to database at this time!");
$query = "SELECT * from Login where UName= $Name ";
$results = mysqli_query($cxn- $query);
$row = mysqli_fetch_array($results- MYSQL_MYSQL_ASSOC);
if ($row[ UName ] == $Name AND $row[ Paword ] == $Pword)
{
echo "Logged in!";
}
else
{
$invalid = "Invalid username/password combination. Pl
The MYSQL_MYSQL_ASSOC is just MYSQL_ASSOC. It got messed up when I was pasting it in!

the query below does NOT sort date properly either by asc (the default) or desc:

"select Title- date_format(Date- %d %M- %Y ) as Date from Table1 order by Date";

i wish to have things like: June 30- June 15- May 24 etc- to show latest articles first.

what to do?

zank you.
fps_dean: thanks for input; the date is set in mySQL as 0000-00-00 (Year- month- day) and then i format it using the date_format function. My problem is with sorting- it does not show the latest articles first.

I can code XHTML/CSS very well. I ve used PHP to an extent; I can read through it and usually follow what is going on. I can make small edits to open source software on my own. But thats all.

How fast would you say it would take me to learn PHP to the point where I could write my own simple scripts that interacted with a MySQL database? What is the best way to learn?

For the life of me I can not find any help(tutorial) or script.. on how to create a working "user-inputed" search field that would search the working website and a Mysql database. I m trying to build a "Real Estate" website and incorporate a search function that would be able to search through the listings that I would add to the database. I ve spent the last two days looking at everything I could find on the web but- I got nothing that seems to work.. If anyone knows what I m attempting to do and could offer some help.. I ll take it.

Thanks- John.

profile?

Similar to myspace- blackplanet.com/migente.com- facebook- etc.

Thank you. I have a business idea which is why I m asking. I m pretty good with MySQL- PHP- etc.

Also- I have Visual Basic 2008...

Just not sure where to start.

Thank you.

My code is as follows- it doesn t work- can you tell me why?

function simplewhile($select- $from) {
$query = mysql_query("
SELECT $select FROM $from
") or die(mysql_error());
$result = $query;
}

simplewhile(timeslot- timeslots);
while ($row = mysql_fetch_array($result)) {
echo <option> .$row[0]. </option> ;
}

trying to select the row "timeslot" from the table "timeslots". Will be repeating this code in the function- so- don t want to keep copying and pasting code. Is there a better way to do this (i.e. oop)- or can you fix my function?
the first two answers don t fix my function- am I calling it correctly?

simplewhile(timeslot- timeslots);

I can code XHTML/CSS very well. I ve used PHP to an extent; I can read through it and usually follow what is going on. I can make small edits to open source software on my own. But thats all.

How fast would you say it would take me to learn PHP to the point where I could write my own simple scripts that interacted with a MySQL database? What is the best way to learn?

For the life of me I can not find any help(tutorial) or script.. on how to create a working "user-inputed" search field that would search the working website and a Mysql database. I m trying to build a "Real Estate" website and incorporate a search function that would be able to search through the listings that I would add to the database. I ve spent the last two days looking at everything I could find on the web but- I got nothing that seems to work.. If anyone knows what I m attempting to do and could offer some help.. I ll take it.

Thanks- John.

Hi I make text based games but have never finished them.

I have been working on a project called halloween online it s going to be a really good game missions-rob shops and more.

The thing is I have no one to help me with it I have made the home page-registration page- and the login page but i cant finish it without help.

Can someone please help me sorry you will not get paid for this but will be admin.

you will need:
php skills
mysql skills
html skills
and maybe java

here is some pictures of the project so far http://mmorpg.com/discussion2.cfm/thread/184320

Thank you for replying
You will get money after making the game because there will be a donate page 50/50

profile?

Similar to myspace- blackplanet.com/migente.com- facebook- etc.

Thank you. I have a business idea which is why I m asking. I m pretty good with MySQL- PHP- etc.

Also- I have Visual Basic 2008...

Just not sure where to start.

Thank you.

My code is as follows- it doesn t work- can you tell me why?

function simplewhile($select- $from) {
$query = mysql_query("
SELECT $select FROM $from
") or die(mysql_error());
$result = $query;
}

simplewhile(timeslot- timeslots);
while ($row = mysql_fetch_array($result)) {
echo <option> .$row[0]. </option> ;
}

trying to select the row "timeslot" from the table "timeslots". Will be repeating this code in the function- so- don t want to keep copying and pasting code. Is there a better way to do this (i.e. oop)- or can you fix my function?
the first two answers don t fix my function- am I calling it correctly?

simplewhile(timeslot- timeslots);

With respect to servers and databases. And what is the difference between those two ? I would assume a large music website like them (or youtube and others) have database systems (relational database management systems like MySQL ?) for users and music...but what are "the servers" ? Are those the computers that host the website ? That provide the bandwith ? And for a site like the above- how many servers are needed ? Or does that depend on the servers ?

For the life of me I can not find any help(tutorial) or script.. on how to create a working "user-inputed" search field that would search the working website and a Mysql database. I m trying to build a "Real Estate" website and incorporate a search function that would be able to search through the listings that I would add to the database. I ve spent the last two days looking at everything I could find on the web but- I got nothing that seems to work.. If anyone knows what I m attempting to do and could offer some help.. I ll take it.

Thanks- John.

Hi I make text based games but have never finished them.

I have been working on a project called halloween online it s going to be a really good game missions-rob shops and more.

The thing is I have no one to help me with it I have made the home page-registration page- and the login page but i cant finish it without help.

Can someone please help me sorry you will not get paid for this but will be admin.

you will need:
php skills
mysql skills
html skills
and maybe java

here is some pictures of the project so far http://mmorpg.com/discussion2.cfm/thread/184320

Thank you for replying
You will get money after making the game because there will be a donate page 50/50

profile?

Similar to myspace- blackplanet.com/migente.com- facebook- etc.

Thank you. I have a business idea which is why I m asking. I m pretty good with MySQL- PHP- etc.

Also- I have Visual Basic 2008...

Just not sure where to start.

Thank you.

My code is as follows- it doesn t work- can you tell me why?

function simplewhile($select- $from) {
$query = mysql_query("
SELECT $select FROM $from
") or die(mysql_error());
$result = $query;
}

simplewhile(timeslot- timeslots);
while ($row = mysql_fetch_array($result)) {
echo <option> .$row[0]. </option> ;
}

trying to select the row "timeslot" from the table "timeslots". Will be repeating this code in the function- so- don t want to keep copying and pasting code. Is there a better way to do this (i.e. oop)- or can you fix my function?
the first two answers don t fix my function- am I calling it correctly?

simplewhile(timeslot- timeslots);

With respect to servers and databases. And what is the difference between those two ? I would assume a large music website like them (or youtube and others) have database systems (relational database management systems like MySQL ?) for users and music...but what are "the servers" ? Are those the computers that host the website ? That provide the bandwith ? And for a site like the above- how many servers are needed ? Or does that depend on the servers ?

I know I want to become a web designer/developer- but I ve been curious about this career in case I get too much stressed with getting ideas of a design and etc- so I want to know what are the programs/software I must learn to become a DBA and always finds a job and have good salary.

I searched which college/university teach this course but so far I found nothing- so for now I m going to learn by reading books but I don t know how many programs/software a DBA need to know in order to always find a good job and have good salary.

So far I found out that a dba need to learn SQL- mysql- maybe oracle- php?- ASP.Net- C#- etc...

Is that all a DBA need to know or do they still need to learn more?

Or can they still find jobs and have great salary without learning alot of stuff?

Please help me and thanks a lot!

Saturday, June 21, 2008

For the life of me I can not find any help(tutorial) or script.. on how to create a working "user-inputed" search field that would search the working website and a Mysql database. I m trying to build a "Real Estate" website and incorporate a search function that would be able to search through the listings that I would add to the database. I ve spent the last two days looking at everything I could find on the web but- I got nothing that seems to work.. If anyone knows what I m attempting to do and could offer some help.. I ll take it.

Thanks- John.

Hi I make text based games but have never finished them.

I have been working on a project called halloween online it s going to be a really good game missions-rob shops and more.

The thing is I have no one to help me with it I have made the home page-registration page- and the login page but i cant finish it without help.

Can someone please help me sorry you will not get paid for this but will be admin.

you will need:
php skills
mysql skills
html skills
and maybe java

here is some pictures of the project so far http://mmorpg.com/discussion2.cfm/thread/184320

Thank you for replying
You will get money after making the game because there will be a donate page 50/50

profile?

Similar to myspace- blackplanet.com/migente.com- facebook- etc.

Thank you. I have a business idea which is why I m asking. I m pretty good with MySQL- PHP- etc.

Also- I have Visual Basic 2008...

Just not sure where to start.

Thank you.

My code is as follows- it doesn t work- can you tell me why?

function simplewhile($select- $from) {
$query = mysql_query("
SELECT $select FROM $from
") or die(mysql_error());
$result = $query;
}

simplewhile(timeslot- timeslots);
while ($row = mysql_fetch_array($result)) {
echo <option> .$row[0]. </option> ;
}

trying to select the row "timeslot" from the table "timeslots". Will be repeating this code in the function- so- don t want to keep copying and pasting code. Is there a better way to do this (i.e. oop)- or can you fix my function?
the first two answers don t fix my function- am I calling it correctly?

simplewhile(timeslot- timeslots);

With respect to servers and databases. And what is the difference between those two ? I would assume a large music website like them (or youtube and others) have database systems (relational database management systems like MySQL ?) for users and music...but what are "the servers" ? Are those the computers that host the website ? That provide the bandwith ? And for a site like the above- how many servers are needed ? Or does that depend on the servers ?

I know I want to become a web designer/developer- but I ve been curious about this career in case I get too much stressed with getting ideas of a design and etc- so I want to know what are the programs/software I must learn to become a DBA and always finds a job and have good salary.

I searched which college/university teach this course but so far I found nothing- so for now I m going to learn by reading books but I don t know how many programs/software a DBA need to know in order to always find a good job and have good salary.

So far I found out that a dba need to learn SQL- mysql- maybe oracle- php?- ASP.Net- C#- etc...

Is that all a DBA need to know or do they still need to learn more?

Or can they still find jobs and have great salary without learning alot of stuff?

Please help me and thanks a lot!

Hi I make text based games but have never finished them.

I have been working on a project called halloween online it s going to be a really good game missions-rob shops and more.

The thing is I have no one to help me with it I have made the home page-registration page- and the login page but i cant finish it without help.

Can someone please help me sorry you will not get paid for this but will be admin.

you will need:
php skills
mysql skills
html skills
and maybe java

here is some pictures of the project so far http://mmorpg.com/discussion2.cfm/thread/184320

Thank you for replying
You will get money after making the game because there will be a donate page 50/50

profile?

Similar to myspace- blackplanet.com/migente.com- facebook- etc.

Thank you. I have a business idea which is why I m asking. I m pretty good with MySQL- PHP- etc.

Also- I have Visual Basic 2008...

Just not sure where to start.

Thank you.

My code is as follows- it doesn t work- can you tell me why?

function simplewhile($select- $from) {
$query = mysql_query("
SELECT $select FROM $from
") or die(mysql_error());
$result = $query;
}

simplewhile(timeslot- timeslots);
while ($row = mysql_fetch_array($result)) {
echo <option> .$row[0]. </option> ;
}

trying to select the row "timeslot" from the table "timeslots". Will be repeating this code in the function- so- don t want to keep copying and pasting code. Is there a better way to do this (i.e. oop)- or can you fix my function?
the first two answers don t fix my function- am I calling it correctly?

simplewhile(timeslot- timeslots);

With respect to servers and databases. And what is the difference between those two ? I would assume a large music website like them (or youtube and others) have database systems (relational database management systems like MySQL ?) for users and music...but what are "the servers" ? Are those the computers that host the website ? That provide the bandwith ? And for a site like the above- how many servers are needed ? Or does that depend on the servers ?

I know I want to become a web designer/developer- but I ve been curious about this career in case I get too much stressed with getting ideas of a design and etc- so I want to know what are the programs/software I must learn to become a DBA and always finds a job and have good salary.

I searched which college/university teach this course but so far I found nothing- so for now I m going to learn by reading books but I don t know how many programs/software a DBA need to know in order to always find a good job and have good salary.

So far I found out that a dba need to learn SQL- mysql- maybe oracle- php?- ASP.Net- C#- etc...

Is that all a DBA need to know or do they still need to learn more?

Or can they still find jobs and have great salary without learning alot of stuff?

Please help me and thanks a lot!

I use dreamweaver and Flash to create website. I am very computer literate but not computer programming literate. I need programs to do my programming! We have a small lending library and I want to put in on our website but have never done somehting like that. What do I need to get? Can I use MySQL to create somehting like that? If so- how? I was considering just putting the information in Excel since I understand excel and then importing it into some sort of searchable database software later. Does that make sence? I was told it is easy to import from excel to database software.
ps. I have MySQL on the website service I have. I created a database called library and a table called books and imputted two books- but I dont know how to get that online and I dont know how to import an excel worksheet into it. am I on the right track though? are there tutorials to help me with this? I have never worked with online databases. I have only worked with database programs that were already set up and were not available online.

I know I want to become a web designer/developer- but I ve been curious about this career in case I get too much stressed with getting ideas of a design and etc- so I want to know what are the programs/software I must learn to become a DBA and always finds a job and have good salary.

I searched which college/university teach this course but so far I found nothing- so for now I m going to learn by reading books but I don t know how many programs/software a DBA need to know in order to always find a good job and have good salary.

So far I found out that a dba need to learn SQL- mysql- maybe oracle- php?- ASP.Net- C#- etc...

Is that all a DBA need to know or do they still need to learn more?

Or can they still find jobs and have great salary without learning alot of stuff?

Please help me and thanks a lot!

I use dreamweaver and Flash to create website. I am very computer literate but not computer programming literate. I need programs to do my programming! We have a small lending library and I want to put in on our website but have never done somehting like that. What do I need to get? Can I use MySQL to create somehting like that? If so- how? I was considering just putting the information in Excel since I understand excel and then importing it into some sort of searchable database software later. Does that make sence? I was told it is easy to import from excel to database software.
ps. I have MySQL on the website service I have. I created a database called library and a table called books and imputted two books- but I dont know how to get that online and I dont know how to import an excel worksheet into it. am I on the right track though? are there tutorials to help me with this? I have never worked with online databases. I have only worked with database programs that were already set up and were not available online.

I need to create an interface with 6 tabs and a login window. but i do not know how to code the login tab. my requirement is that when i run the program the login window should show 1st and the rest of the tabs have to be un-selectable till the user enter the correct user name and password. no need to store passwords in a MySQL database.

Hi- I want to learn how to make my own web hosting. Including php- html- mysql- etc. Can anyone teach me? I would like it to be able to have vbulletin forums- ip.board forums- etc- and others...

can Powerpoint create and access php and mysql queries?? and HOW?!?!?!?!

I need to create an interface with 6 tabs and a login window. but i do not know how to code the login tab. my requirement is that when i run the program the login window should show 1st and the rest of the tabs have to be un-selectable till the user enter the correct user name and password. no need to store passwords in a MySQL database.

Hi- I want to learn how to make my own web hosting. Including php- html- mysql- etc. Can anyone teach me? I would like it to be able to have vbulletin forums- ip.board forums- etc- and others...

can Powerpoint create and access php and mysql queries?? and HOW?!?!?!?!

I am looking to build a website and I think using mysql will be the best option to build a database. I want to download the free version to test it out and then buy it later.

I I don t know how to configure my computer to do this. I have a iBook G4. Any help would be appreciated.

i dont have a jdbc driver on my server D: what can i do?
i use java because i am making a game in java

Friday, June 20, 2008

I need to create an interface with 6 tabs and a login window. but i do not know how to code the login tab. my requirement is that when i run the program the login window should show 1st and the rest of the tabs have to be un-selectable till the user enter the correct user name and password. no need to store passwords in a MySQL database.

Hi- I want to learn how to make my own web hosting. Including php- html- mysql- etc. Can anyone teach me? I would like it to be able to have vbulletin forums- ip.board forums- etc- and others...

can Powerpoint create and access php and mysql queries?? and HOW?!?!?!?!

I am looking to build a website and I think using mysql will be the best option to build a database. I want to download the free version to test it out and then buy it later.

I I don t know how to configure my computer to do this. I have a iBook G4. Any help would be appreciated.

i dont have a jdbc driver on my server D: what can i do?
i use java because i am making a game in java

The error im getting is:

Parse error: syntax error- unexpected T_VARIABLE in ..... on line 50?


Here are my lines 49-52:

// now let s get results.
$query .= " LIMIT $s-$limit" ;
$numresults = mysql_query ($query) or die ( "Couldn t execute query" );
$row= mysql_fetch_array ($numresults);

i dont have a jdbc driver on my server D: what can i do?
i use java because i am making a game in java

The error im getting is:

Parse error: syntax error- unexpected T_VARIABLE in ..... on line 50?


Here are my lines 49-52:

// now let s get results.
$query .= " LIMIT $s-$limit" ;
$numresults = mysql_query ($query) or die ( "Couldn t execute query" );
$row= mysql_fetch_array ($numresults);

Here are my lines 49-52:

// now let s get results.
$query .= " LIMIT $s-$limit" ;
$numresults = mysql_query ($query) or die ( "Couldn t execute query" );
$row= mysql_fetch_array ($numresults);

I need to develop a shopping cart which will be easy for the end user- the shop owner and for me to update with a new theme ever two or three months.

I m a bespoke developer and have worked on many shopping carts from scratch- however for this job - given a lack of funding and a quick turnaround issue - I m looking for a pre-written alternative.

Any ideas?

Looking for shared hosing for a website based on e107. Using GoDaddy right now and its slow. When I host the on my home server on a basic DSL connection for testing and development it runs 10x faster than GoDaddy even (NOTE: This is when I m accessing my home box remotely.....sad) GoDaddy crawls..... and I m not sure if its the GoDaddy service- DB- or that it just doesn t agree w/ e107. Want something in the $5-$10 a month range that is known to run a e107 website and run it fast. Need 1-5 gb space- atleast 5+ gb month bandwidth- MySQL- PHP- etc... If you have an e107 website please post the provider- price per month- and opinions. Hoping to elimate the buy/try/switch scenario and pick a good option the 2nd time around..... It shouldn t be hard to find because this site is not traffic intensive and is not graphic or video intensive.

Heed help on query that seems have to be working but its not.
I need to do Left Join with multiple databases/tables.
SELECT db1.table1.id-db2.table1.hits
FROM db1.table1-db2.table1
LEFT JOIN db1.table2 ON db1.table1.id=db1.table2.id WHERE db1.table1.id=db2.table1.id
Mysql error says "unknown column db1.table1.id in ON clause"
Please help :(

I need to develop a shopping cart which will be easy for the end user- the shop owner and for me to update with a new theme ever two or three months.

I m a bespoke developer and have worked on many shopping carts from scratch- however for this job - given a lack of funding and a quick turnaround issue - I m looking for a pre-written alternative.

Any ideas?

Looking for shared hosing for a website based on e107. Using GoDaddy right now and its slow. When I host the on my home server on a basic DSL connection for testing and development it runs 10x faster than GoDaddy even (NOTE: This is when I m accessing my home box remotely.....sad) GoDaddy crawls..... and I m not sure if its the GoDaddy service- DB- or that it just doesn t agree w/ e107. Want something in the $5-$10 a month range that is known to run a e107 website and run it fast. Need 1-5 gb space- atleast 5+ gb month bandwidth- MySQL- PHP- etc... If you have an e107 website please post the provider- price per month- and opinions. Hoping to elimate the buy/try/switch scenario and pick a good option the 2nd time around..... It shouldn t be hard to find because this site is not traffic intensive and is not graphic or video intensive.

Heed help on query that seems have to be working but its not.
I need to do Left Join with multiple databases/tables.
SELECT db1.table1.id-db2.table1.hits
FROM db1.table1-db2.table1
LEFT JOIN db1.table2 ON db1.table1.id=db1.table2.id WHERE db1.table1.id=db2.table1.id
Mysql error says "unknown column db1.table1.id in ON clause"
Please help :(

I would like to create a simple customer login page.

I am aware of various programs available and different methods with php and mysql which I do not want to spend time learning. Instead my hosting provider provides a feature to password protect certain webpages.

However- my problem is getting my clients to the right page. What I want to do is have a form field on login page in which the user enters their username. The user is then directed to their page and asked for their password.

i.e. - On login page user enters username in form field -> |user1| this entry is then put into a web address -> http://www.mywebsite.com/user1.html The user would then be asked for his/her password and on entering this gain access to his/her personal page on my site.

All help big or small will be greatly appreciated.

Thanks in advance!
Response to answer 1:
I am sending the user to a page which IS password protected by my provider. Therefore- if you enter the address for this user s page you will be asked to enter this user s password. The first page where the user enters their username is simply to direct them to their page where they will be asked for the password.

Thanks anyway for your contribution!
I probably should have worded this differently. I simply want a formfield which when a username is entered it is used to redirect the user. So if the user enters username1 they will be directed to http://www.mywebsite.com/username1.html. If they enter username524 they will be directed to http://www.mywebsite.com/username524.html

Thanks again!

Hello

Just wondering if there were any programs to easily install php on the OS i stated. Something which installs both PHP and Apache and anything else needed. I tried to do it once but it failed so Im wondering about the programs.

Oh- and also MySQL!

Thanks"

Table: datadump

Columns: table- column- data

Data I want to insert: They are variables; $table- $column- $data

I know that the mysql_select_db and mysql_connect is ok and I will not give that for security reasons- but what about this syntax:

$sql = "INSERT INTO datadump (table- column- data) VALUES ($table-$column-$data)";

$mysqlquery = mysql_query($sql-$con);
if(!$mysqlquery)
{
die( Error: . mysql_error());
}

When I run the script with this syntax- I get the following error:

Error: 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 table- column- data) VALUES (index-name-fruits) at line 1

Can you please tell me what to do?
Same problem after taking the first answerer s advice
Same problem again with second answerer s advice