For problems and solutions related to database compatibility.

Trying to create an ODBC interface

My basic question is, when working with an ODBC data source, how can I return an object from the db_fetch_object function that can be used by Drupal?

Drupal and Ingres Support

Greetings,

I would be interested in developing Ingres support for Drupal. I was wondering has any such attempt been made and how standardized is the SQL syntax? Are there any issues I should know about before I begin such a project? Thank you for any help.

Alex Trofast
Engineering Intern
Ingres

db_query issue

Hello,

I actually have a rather "stupid" problem but i cant get it solved. I have in my database a table wich is called country and where all the countries are kept in with their iso code and name. I wish to read all the data from that table so i can fill up my option value in html code.

The way i think to do it:

"This is done at the top of the page"

 $results = db_query("SELECT * FROM country");

"This is what i try to do at my html code"

Database reports?

I built a forms page that I and others can use in my drupal site to capture research data. This done, is there any way to generate specialized summary reports of the data that I can configure (ie so I can generate a report, tabular or otherwise, with specific fields I wish returned)?

If this is possible, can someone point towards documentation or modules I need to install or individuals I can contact for help?

Thank you in advance!

-George

Need help pulling a specific field from Drupal Database and using it to create google map markers?

I'm not sure if this is in the right place, so sorry in advance. From the title you can guess what I'm trying to do. I'm quite new to drupal and haven't quite got my head round it. Any help would be amazing!

I have a an address field,taken at registration, held in a custom profile (profile_address) in the database. I want to parse this field in the gmaps api to generate a marker. This needs to be iterated for the entire database to generate all markers.

I'm guessing the structure goes

SELECT>>RESULTS

RESULTS>>GMAPS

getting MySQL erro somtimes when posting comments

i'm gaving issues with my site sometimes when posting comments i get this error

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Lost connection to MySQL server during query\nquery: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'gsitemap', 'Error occurred submitting site map to Ask.com: 0', 2, '', 'http://gimp-tutorials.net/comment/reply/193', 'http://gimp-tutorials.net/gimp-cloudbrushes', '122.106.77.44', 1203290654) in /home/content/a/m/i/amixroed/html/GIMP/includes/database.mysql.inc on line 172.', 2, '', 'http://gimp-tutorials.net/comment/reply/193', 'http://gimp-tutorials.net/gimp-cloudbrushes', '122.106.77.44', 1203290654) in /home/content/a/m/i/amixroed/html/GIMP/includes/database.mysql.inc on line 172

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Database compatibility