hi all
i cannot get the following command to work, any ideas?
$sql_query = "INSERT INTO 'members' (uname, fname, lname, pword, email) VALUES ('$uname', '$fname', '$lname', '$pwordmd5', '$email')";
its not an issue with my db connections, as i have other sql staments working in the script
many thanks
4 1263 Please read the Posting Guidelines before posting a question.
Please follow my directions, post the error message you receive.
hi all
i cannot get the following command to work, any ideas?
$sql_query = "INSERT INTO 'members' (uname, fname, lname, pword, email) VALUES ('$uname', '$fname', '$lname', '$pwordmd5', '$email')";
its not an issue with my db connections, as i have other sql staments working in the script
many thanks
i dont receive any errors
cannot get the following command to work, any ideas?
[PHP]$sql_query = "INSERT INTO 'members' (uname, fname, lname, pword, email) VALUES ('$uname', '$fname', '$lname', '$pwordmd5', '$email')"; [/PHP] This is not a command. It is a string variable.
i dont receive any errors
Well you should if you are writing good code. Like Motoma said. What is the error?
i dont receive any errors
You get no errors at all, even when you put the ini_set headers and the "or die(mysql_error());" at the end of your query?
If that is the case, your INSERT statement is working. Or you aren't executing the query.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Loi |
last post by:
Hi All,
I use Bulk insert to put data to myTable.
When the SQL server is in local machin, it works well. But when I put
the data in a sql server situated not locally, then I get a error
message...
|
by: kins |
last post by:
Hi,
I wrote a common.vb file as a code bebind logic.
I cannot use some common method e.g. len, month, year, formatdatetime.
Anyone can help me ? Thx u very much.
The structure of my vb file :...
|
by: Jack |
last post by:
Hi,
I cannot get the date format correctly in dynamic sql statement, after
trying various ways of handling it. I need some help with the date format in
the following dynamic sql statement. Any...
|
by: WillieW |
last post by:
Hi folks,
I have Access 97 and have set up four tables, each with a Primary Key
with a file name manually entered. For example, the four tables relate
to information stored in a paper file, on...
|
by: alan |
last post by:
in my project there are
5 textbox : tbOrderid, tbSeqNum, tbFoodCode, tbFoodDesc and tbPrice
9 button: btInsert, btdelete, btUpdate, btClear, btBind, btFirst,
btPrevious, btNext and btLast
i...
|
by: yukijocelyn |
last post by:
I have experienced a problem here while doing a form for accessing datadbase using MS Access. I'm using the AccessDataSource control, and using Gridview to pull the data from the database. I am able...
|
by: Rahul B |
last post by:
Hi,
I have a user UCLDEV1 which is a part of staff and a
group(db2schemagrp1) to which i have not given any permissions.
The authorizations of that user are shown as
db2 =get authorizations...
|
by: skanemupp |
last post by:
in this program when using the "c"-button it deletes the last token
entered. i want to delete the token after the mousecursor.
lets say the string is: 12*(81**.5+12) and i put the cursor between...
|
by: anu b |
last post by:
Hi
I need to use Clr trigger for insert command
My code is as below
I am using SQL server 2005 and VS 2008.... but after running this
code
i didnt get the result as i expexted it shows the...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |