10,946 Topics

Member Avatar for
Member Avatar for ryan1987

Hi iam having a problem with combining a few union statement together. The statements run separately without any problem. The below union outputs the following results: team points leeds 3 [code] select team ,points from ( select hometeam team, sum(homepoints) points from fixtures where competitionname = 'prem' group by hometeam …

Member Avatar for rch1231
0
90
Member Avatar for futhonguy

Hi I am trying to write/modify a script to read from a spreadsheet into mysql database using php. I did a search on google and found phpExcelReader. However i wasnt able to use that to do so. ALso managed to find an open script to read from excel spreadsheet onto …

Member Avatar for futhonguy
0
109
Member Avatar for Toxid

Hello! I'm trying to migrate a database table from a joomla installation to drupal. The problem is with the column containing image file names. The column in the joomla table only contains the filename and drupal needs the sourcepath to the image as well. So I'm wondering if there's a …

Member Avatar for rch1231
0
100
Member Avatar for cwkeng09

How to add Lv2 and Lv3 referral to database? for example: D is new register and downline for C, C is downline for B, B is downline for A. I want the A, B and C add into the database like upline upline2 upline3 C B A below is my …

0
72
Member Avatar for achiman

Can anyone tell me what data type I can use to store an numbers of this sort "087699" I want it to store the FIRST ZERO. If I use INT or double it removes the first zero

Member Avatar for WebspoonUK
0
100
Member Avatar for yun

i m newbie in web development plz help me to sort out the problem.. the problem is: in [B][U]edit.php[/U][/B] when control enters in if condition it never goes to else when i press the edit button. i want to get id from view.php and display category name in edit.php textbox …

Member Avatar for diafol
0
133
Member Avatar for rpgwebsolutions
Member Avatar for SKANK!!!!!

[QUOTE]$tag = $_GET[tag]; $search = mysql_query("SELECT * FROM `threads` WHERE FIND_IN_SET('$tag', `tag`) = '$tag'"); [/QUOTE]why is this returning all of the rows in the table they all do not have the same tags none of them have the same tags as each other yet the column name is tag. the …

Member Avatar for drjohn
0
175
Member Avatar for lagspike

I have a program which connects to a remote MySQL Server. When i try running the program on other PCs (ones with nothing more than the .NET Framework) I tried using ODBC, which would run the program, but not be able to connect to the database because of the lack …

Member Avatar for lagspike
0
222
Member Avatar for niths

---Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Group\Apache2\htdocs\Project\login.php on line 72---- <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>Username:</td> <td><input type="text" name="username"></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password"></td> </tr> …

Member Avatar for as.bhanuprakash
0
325
Member Avatar for rukshilag

As you wud have seen i am working on a search field, how do you select one displayed result and then use it for editing? how to dynamuically point the mouse at a result and then edit it through a form which is on another page called "Edit Details"

0
106
Member Avatar for Randomnoize

Hi all - This is kicking my butt. I have searched everywhere I can think of and have tried the various solutions to no avail. First I am connecting to two databases on the same instance of mySQL using : [code=php] $conn2 = mysql_connect ( "XXX.XX.XX.13", "User1", "PWord1",true) or die("Could …

Member Avatar for Randomnoize
1
161
Member Avatar for eman neercs

I have 2 fields in my db, the first is Title and the other StopList. If a StopList word appears in any of the Title names, I want to flag that item for deletion. Currently using a PHP array to do this but wanted to know if mysql could do …

0
97
Member Avatar for dreinzy

Hello folks, I'm getting the error message "Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/login.php on line 9". I've been at it for hours and my eyes are starting to bleed, I would greatly appreciate a code-weary traveller could spot my mistake. Here's the first 10 lines of my page. …

Member Avatar for dreinzy
0
2K
Member Avatar for gupta.software

I have Webpage written using PHP that displays drop down data from MySQL tables. I want my page to refresh and appeared new entry list in drop down list, after new records are entered to the database.I want auto refresh but when submit the form only.

Member Avatar for gupta.software
0
228
Member Avatar for cwarn23

Hi and I have a mysql table that gets a few million records inserted per day and it seems to get corrupted very often. The current database structure is myisam but it keeps on getting corrupted. Are there any mysql data structures that won't corrupt even when restarting the mysql …

Member Avatar for cwarn23
0
112
Member Avatar for Exploded Fiber

Hey all, Im creating a voting website using PHP & SQL. Im planning on using a single table to store votes. Something like this. -- Voter_ID -- Candidate A-- Candidate B -- Candidate C -- ### --- 1 --- 2 --- 3 ### --- 1 --- 3 --- 2 ### …

0
72
Member Avatar for MartinJ

Hi there, i have a bit of a problem with integrating CKeditor... I have a dynamic dropdown select box filled from MySQL, i have followed an Ajax tutorial on W3 schools [url]http://www.w3schools.com/php/php_ajax_database.asp[/url] on how to get the selection pulled from MySQL to populate a textarea where it can then be …

0
45
Member Avatar for masocha

l have got a table populated with data. l need to export and append the contents of the table to an existing table. l have got an auto_increment column which l need to change so it starts at 100 not one

Member Avatar for urtrivedi
0
120
Member Avatar for niths

hai i am new to php. i am getting this as error ---You have an error in your SQL syntax; check the manual that corresponds to your MySQL--- can anyone tel wher is the error. Thank u..!! <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> …

Member Avatar for hashinclude
0
101
Member Avatar for zia zia

Hello Guys, I need someone's help please. I just recently started to learn MYSQL and am a complete novice. I learned a few things from here and there but it's still not enough for me to complete my ("they called it a basic simple task" ) new project. The project …

0
60
Member Avatar for fobos

hello all, i have a problem. First off, i am able to upload 200mb to mysql database; so im good there. I changed the values in "my.ini" to 700mb. The problem is, when i try to download it, i get a error 404 or something like that. Its like the …

Member Avatar for cwarn23
0
100
Member Avatar for amy_rockville

I am new to php/MySQL, so I apologize in advance for any stupidity on my part. I have a MySQL database for events, and the main table ("Brochure") has multiple Trip Leader fields, e.g., "Leader," "Assistant Leader," "Leader in Training," etc. All of these leader fields get their data from …

Member Avatar for amy_rockville
0
123
Member Avatar for brett2k9

Hi I'm new here and I have a question. Basically I have a database named data with 4 columns in it. The main one being url and I want to query based on the url because i don't want to view all of them. How can I do this? Sorry …

Member Avatar for Kruptein
0
52
Member Avatar for =OTS=G-Man

Hello everyone I have an issue here that I couldn't find much info about, I saw a lot about it when people where selecting a lot of data but not on an insert. Heres some background. I have an application that adds items from our in house order/inventory manager to …

Member Avatar for kvprajapati
0
963
Member Avatar for rpgwebsolutions
Member Avatar for Krstevski

Hello friends... How can I change the order of the columns ? e.g. My columns order is: id name lastname and now I want to change the order of the columns like: id lastname name Thanks.

Member Avatar for drjohn
0
117
Member Avatar for rpgwebsolutions
Member Avatar for rpgwebsolutions
Member Avatar for rpgwebsolutions
Member Avatar for aique

Hi!. I'm trying to get a connection from a Java application to a MySQL database. When I execute the method getConnection(url, user, pass) this is what I get: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'mysql.user_objects' doesn't exist I have executed the perl script called mysql_install_db with the result: C:\Archivos de programa\MySQL\MySQL Server 5.1>perl scripts/mysql_install_db.pl …

0
71
Member Avatar for bharat_bhusanam

Hi, I want to create a scrapbook like orkut or in facebook. I am taking a text area on which the user have to write the text. The text can be any thing like "text with special characters as well as html codes. This text will be stored into mysql …

Member Avatar for logonchristy
0
234
Member Avatar for JuliaNell

Im suppose to search by name and active users, now the problem is I can search by name, but i dont know why active is givin me a problem.. My coding is like this, what is wrong? $sqlFilter .= ' AND (username LIKE "%'.$_SESSION['filter']['filterusername'].'%" OR active LIKE "%'.$_SESSION['filter']['filteractive'].'%" )'; username …

Member Avatar for urtrivedi
0
58
Member Avatar for ElegantElephant

I am having trouble with a certain query. The problem is that I am using an INNER JOIN with two tables that both have a column called "id". I want the query to return ALL the column names but in addition I also want table1.id to be returned as id1 …

Member Avatar for jmo
0
136
Member Avatar for davidjennings

Hi all, if anyone can assist I have a query which just will not resolve it self no matter what I have tried. I am testing this PHPmyadmin before I apply to the website if this helps Thanks in advance DJ The query that is being run produces duplicate row …

Member Avatar for davidjennings
0
126
Member Avatar for sahirak

basically this is the first time iam using the iSQL *Plus, i am confused and i just want to no, when you create a table how can you view the actual table you have created, and how do you put data into the table?..

Member Avatar for drjohn
0
73
Member Avatar for codeblock

Hello all, I have a page that allows the user to update their account detail. The prblem is that when the page loads the users inforamtion doesn't appear in the text fields. I've checked the code and i cant see any errors nor does php flag any errors. Can someone …

Member Avatar for Will Gresham
0
160
Member Avatar for ChPravin

Hello All, I have been trying to copy a database from a local system to remote system using the mysqldump command.However, I am not able to do so.I just wanted to know syntactically where am I going wrong? Here are the commands I have tried: mysqldump database-name | ssh [email]myname@mysql.cs.abc.edu[/email] …

Member Avatar for ChPravin
0
138
Member Avatar for ChPravin

Does any one know how to use SQLite? Can anyone tell me how to convert populated MySQL tables to SQLite tables without using a DBConvert software?

Member Avatar for ChPravin
0
78
Member Avatar for ukndoit

We are an American company, doing business world wide, we have a lot of members coming on board in Russia, Estonia, Latvia, Africa and lots of other places. They are all asking for us to translate the web pages. So I programmed in a language translator, where we can give …

Member Avatar for ukndoit
0
171
Member Avatar for MickeyP123

I am having issues with the following code of mysql when using the "not like" mysql command. My snippet looks like this [CODE]$name = something $sql = "Select * from table1 where table1.field1 not like ' $name ' ";[/CODE] What it should look like in phpmyadmin is [CODE]Select * from …

Member Avatar for as.bhanuprakash
0
76
Member Avatar for ravikumar111

can any one give the code for join the table in left join method in phpmysql ?

Member Avatar for urtrivedi
0
66
Member Avatar for jeffm2008

Hi guys... I know little to nothing about this and i was told to run this command, but I got this error when I did...does any know the correct syntax for this? I appreciate your help and thank you in advance! Error SQL query: CREATE TABLE wp_wpmq( id int( 11 …

Member Avatar for darkagn
0
93
Member Avatar for WickidGRAFX

I created a user login/registration system and the login works fine. But I can not seem to get the registration to insert the info into the database. It returns no errors and says the record is there but when you check from phpMyAdmin, the record is not there. Here is …

Member Avatar for drjohn
0
162
Member Avatar for diafol

Anybody know how to do the following: id (PK/autoincrement) file_id (FK/int) - same file id pops up loads of times statement (varchar) - just some text from the file status (tinyint 0/1/2) - depending on the statement = 0 or 1 or 2 into a single record for each file_id, …

Member Avatar for diafol
0
1K
Member Avatar for solarb

hi first of all i want to create a linking with two tables in database: 1 table : id,name 1 nick 2 john 3 michael 2 table (i want to use this table for dropdown list) id,job 1 engineer 2 scientist 3 coder how can i link them both? the …

Member Avatar for diafol
0
82
Member Avatar for elijahmangwe

Specification: I wrote most of the code separately but seems am having difficulties linking it to my database: Write a simple E-commerce application, which may be a bookshop, music shop, clothes store, or anything else you wish. There should be a “user” interface to allow customers to select and purchase …

Member Avatar for ShawnCplus
0
53
Member Avatar for xen0r

I wan to host my own content, but I can't figure out where to put my files. I'm using WAMP, [url]http://www.98.163.121.220.com/cgi-sys/defaultwebpage.cgi[/url] That's my site. How can I just host my own files?

Member Avatar for drjohn
0
77
Member Avatar for selvasoft

please any one help me i want display images from mysql database to my web page... i have no clear idea about that please help me.. i want script that will upload file and also display files in date vise. And also i want display my images like my attachment. …

Member Avatar for muralibobby2015
0
102
Member Avatar for JavaFrk

Hi All, i want to develop a realtime stock updation chart with js,Ajax,MySQl and Eclipse. Environment with MySQL,JS and tomcat is established. Now how can i start with the use of Ajax into Eclipse and go through dis module is there any source example or code available ? Thank u …

Member Avatar for JavaFrk
0
71

The End.