473,396 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Using the word "change" in php...

Hello --

Perhaps this is a silly question, but is the word "change" a php or
MySql command? I had a script that wouldn't work with the a field called
"change" in it, but when I removed that field it worked fine.

Just wondering.

Thanks,

Peter
Jun 1 '06 #1
2 1363
Yes you can't use "change" word as table name because its a reserved
word. You can see the mysql manual whats are reserved words. Some of
reserved words are: change, anaylze, convert, connection, cascade,
schema, natural, spesific, etc..

regards,

Lorento
--
http://www.mastervb.net
http://www.padbuilder.com , http://www.immersivelounge.com

Jun 1 '06 #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peschtra wrote:
Perhaps this is a silly question, but is the word "change" a php or
MySql command?


It is a MySQL reserved word. Recommended reading:
http://dev.mysql.com/doc/refman/5.0/...ved-words.html
http://php.net/manual/en/reserved.php

- --
- ----------------------------------
Iván Sánchez Ortega -i-punto-sanchez--arroba-mirame-punto-net

http://acm.asoc.fi.upm.es/~mr/
Proudly running Debian Linux with 2.6.15-1-686 kernel, KDE3.5.0, and PHP
5.1.2-1+b1 generating this signature.
Uptime: 11:53:43 up 19:03, 1 user, load average: 1.25, 0.49, 0.22

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEfrmi3jcQ2mg3Pc8RAt6mAJ9GvS5qyr0zBKWkoJePJ5 4kfDV4pQCfSh4H
rmgA+e6xPm9ymlyvddHzkKE=
=Exg+
-----END PGP SIGNATURE-----
Jun 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Danny | last post by:
Hello I am trying to create a separate listbox and fill it with items based on what is in another field in a database. This field is bound to a field in the underlying database. But the data...
4
by: Ueslei R. Valentini | last post by:
Hi! I'm using Windows Authentication in my application, restricting permissions with authorization for specific users. But when someone try to access and don't have permissions, the default page...
8
by: Maxi | last post by:
Hello, i'm sorry my bad english :( I have CR9 Webservice, how to change databadse name and User_name into Webservice method? (not Viewer Control) Tks!! -- --------------------------
3
by: aryayudhi | last post by:
I have a html page that has javascript that works perfectly in IE, but not in Firefox. The use of this javascript to change "Tab" to "Enter" Button. When we press Tab, it is like when we press Enter...
2
by: dkl1 | last post by:
Hi, I have the following HTML code (for playing a WAV sound file): <OBJECT ID=vidCtrl_success CLASSID="CLSID:05589FA1-C356-11CE-BF01-00AA0055595A" STYLE="display:none" VIEWASTEXT> <PARAM...
2
by: 1ontherun | last post by:
Hi, Here's the problem. I am trying to allow the user to change a page background to an image file on their computer. The input box is already a 'type=file', however it uses the character "\"...
1
by: monkey1001 | last post by:
my program is suppose to show my due change and i got it working but my change and coins are wrong how can i improve it thank you..(its supposed to be in java)
13
by: thomas | last post by:
suppose I will delete an element pointed to by "iter". like this: vector<ints; for(vector<int>::iterator iter=s.begin(); iter!=s.end(); iter++){ if(*iter==3) s.erase(iter); ...
0
by: grazzy.cool | last post by:
"Change your language and you change your thoughts." Learn English and free download Grammar & dictionary. Just click the website and share ur thoughts…. "Language shapes the way we think, and...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.