Search found 100 matches
- Tue Nov 20, 2007 10:15 pm
- Forum: Databases
- Topic: get mysql results
- Replies: 3
- Views: 669
- Tue Nov 20, 2007 9:06 pm
- Forum: Databases
- Topic: get mysql results
- Replies: 3
- Views: 669
- Mon Nov 19, 2007 11:23 pm
- Forum: Databases
- Topic: get mysql results
- Replies: 3
- Views: 669
get mysql results
Let me preface this question by saying that I haven't tried to connect to a db in almost a year and have hardly been doing any php. With that out of the way, I'm ashamed to admit it, but I can't find my results. I want to dynamically populate a select list. I'd like to know if anyone sees what this ...
- Sun Nov 19, 2006 1:04 pm
- Forum: PHP - Code
- Topic: array keys
- Replies: 3
- Views: 483
- Sun Nov 19, 2006 10:31 am
- Forum: PHP - Code
- Topic: array keys
- Replies: 3
- Views: 483
array keys
I haven't written any php in a while and the result is that now I'm beating myself up because I can't figure out why I can't pull the results out of a simple mysql db query. Does anyone see what I'm doing wrong?: $query = "SELECT DISTINCT artist FROM recordings ORDER BY rand() LIMIT $num";...
- Tue Sep 26, 2006 1:10 pm
- Forum: Javascript
- Topic: Could not convert JavaScript argument...
- Replies: 5
- Views: 1848
- Sat Sep 23, 2006 4:00 pm
- Forum: Javascript
- Topic: Could not convert JavaScript argument...
- Replies: 5
- Views: 1848
- Sat Sep 23, 2006 3:04 pm
- Forum: Javascript
- Topic: Could not convert JavaScript argument...
- Replies: 5
- Views: 1848
- Sat Sep 23, 2006 12:13 pm
- Forum: Javascript
- Topic: Could not convert JavaScript argument...
- Replies: 5
- Views: 1848
Could not convert JavaScript argument...
I'm getting this error: Exception... "Could not convert JavaScript argument arg 0 [nsIDOMHTMLDivElement.appendChild]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: ... :: handleResponse :: line 46" data: no and this is the line that's causi...
- Fri Sep 22, 2006 7:36 pm
- Forum: PHP - Code
- Topic: mySQL troubles..
- Replies: 4
- Views: 647
first you need to open a connection to the database and select the database,
then you put the query into a variable and pass the variable to mysql_query().
b
Code: Select all
mysql_connect(DB_HOST, DB_USER, DB_PASSWORD);
mysql_select_db(DB_DATABASE);b
- Fri Sep 22, 2006 12:53 am
- Forum: PHP - Code
- Topic: switch statement queries
- Replies: 5
- Views: 729
- Thu Sep 21, 2006 11:17 pm
- Forum: PHP - Code
- Topic: switch statement queries
- Replies: 5
- Views: 729
- Thu Sep 21, 2006 10:56 pm
- Forum: PHP - Code
- Topic: switch statement queries
- Replies: 5
- Views: 729
switch statement queries
Hi. I'm having a small problem and I'd appreciate it if anyone could help. I have a form that searches a database for info (I'm pretty sure this isn't a database issue, though, because the returned query runs smoothly from MySQLQueryBrowser). The form has a select box for the type of info the user i...
- Tue Sep 12, 2006 12:56 pm
- Forum: Javascript
- Topic: AJAX suggest
- Replies: 4
- Views: 944
- Mon Sep 11, 2006 10:45 pm
- Forum: Javascript
- Topic: AJAX suggest
- Replies: 4
- Views: 944