Re: [PHP] PHP + SQL..

2007-02-23 Thread Richard Lynch
On Thu, February 22, 2007 7:53 pm, Liz Kim wrote: > When I try to get a really long string and print it out on a website, > it > tends to stop in the middle of the string. > Is this some sort of a limitation that I can change? It's probably a limit on the number of characters that can be stored in

Re: [PHP] PHP + SQL..

2007-02-22 Thread Robert Cummings
On Thu, 2007-02-22 at 17:53 -0800, Liz Kim wrote: > I am storing a lot of text into my mssql database. > Are there any special characters I should watch out for? > I think so far I've got ' covered. Skip the guesswork and use an appropriate quoting mechanism for your database -- that said I'm not

[PHP] PHP + SQL..

2007-02-22 Thread Liz Kim
I am storing a lot of text into my mssql database. Are there any special characters I should watch out for? I think so far I've got ' covered. Also, when I retrieved the string later on... The ' is printed out with a \ in the front. How do I get rid of the \? When I try to get a really long strin

[PHP] PHP SQL Builder with JOIN support

2006-12-06 Thread Kris Leech
Does anyone know of a PHP class/function(s) which will generate SQL with support for JOIN's to other tables. I have used SQL Query Builder by David Regla Demaree, which is great for simple SQL but lacks support for JOIN's. Many thanks in advance, Kris. -- PHP General Mailing List (http://www

Re: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-19 Thread paulm
oh, just realized smth :) the tutorial is not mine i have used with success and also posted there but the credit for the tutorial is of: NickName: Gast Member Since: 03/26/2005 Location: Surrey, England Website:http://www.nmcmahon.co.uk he must have the credit for it :) dave

Re: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-19 Thread dave
as u wish :) tedd wrote: >> sry bout that it seems i was logged in :) try this on >> "http://www.ajaxfreaks.com/tutorials/6/0.php"; it's called "Making a >> Google Suggest-like application" > > > Dave: > > A most excellent example, but a horrible place to put it. The links are > all screwed up

Re: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-19 Thread tedd
sry bout that it seems i was logged in :) try this on "http://www.ajaxfreaks.com/tutorials/6/0.php"; it's called "Making a Google Suggest-like application" Dave: A most excellent example, but a horrible place to put it. The links are all screwed up and confusing. The pages are not designed we

RE: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-18 Thread Chrome
the DOM is a much better idea... It may be more lengthy by that can be cut down some with clever scripting :) HTH Dan --- http://chrome.me.uk -Original Message- From: Daevid Vincent [mailto:[EMAIL PROTECTED] Sent: 18 March 2006 22:45 To: php-general@lists.php.net Cc: &

RE: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-18 Thread tedd
No. All of the examples I find are like the 'google' style suggest-thingy. I want to dynamically (AJAX) populate an actual: foo bar fee fum Basically the core problem is passing back an 'array' of data from mysql into JS to make the box. What I've 'hacked'

RE: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-18 Thread Daevid Vincent
So, I guess what I'm asking, is, is this the right way to solve this challenge, or is there a better/more accepted way? > -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 18, 2006 1:02 PM > To: php-general@lists.php.net; Daevid Vincent > Sub

Re: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-18 Thread tedd
I need to dynamically update a select box with results from a SQL database using AJAX, but I can't find a single example of how to do this. Basically I have a text input field, and a select box. As someone types in the input field, I want the select box to fill in the results of matches. I can f

Re: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-18 Thread dave
hi, i used http://www.ajaxfreaks.com/tutorials/6/3.php?topic_id=73&hl=104#104 it works just fine, i implemented to one of my web, so far so good. Hope it's what u are looking for Daevid Vincent wrote: > I need to dynamically update a select box > with results from a SQL database using AJAX, > bu

RE: [PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-18 Thread Weber Sites LTD
rums : http://www.weberforums.com Free Uptime Monitor : http://uptime.weberdev.com SEO Data Monitor http://seo.weberdev.com -Original Message- From: Daevid Vincent [mailto:[EMAIL PROTECTED] Sent: Saturday, March 18, 2006 4:43 AM To: php-general@lists.php.net Subject: [PHP] PHP, SQL, AJAX, JS

[PHP] PHP, SQL, AJAX, JS and populating a SelectBox?

2006-03-17 Thread Daevid Vincent
I need to dynamically update a select box with results from a SQL database using AJAX, but I can't find a single example of how to do this. Basically I have a text input field, and a select box. As someone types in the input field, I want the select box to fill in the results of matches. I ca

RE: [PHP] PHP SQL Code

2003-03-02 Thread John W. Holmes
> > > I would like yo show the users in a list that have a date that is more > > > than > > > 60 days old. > > > > $sql = "SELECT * FROM stompers WHERE sUpdated < CUR_DATE() - INTERVAL 60 > > DAY AND sActive = 'Y' ORDER BY sUpdated DESC"; > > This one returns a 'Could not get Query' warning ... so

Re: [PHP] PHP SQL Code

2003-03-02 Thread Philip J. Newman
This one returns a 'Could not get Query' warning ... so thats out. - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "'Philip J. Newman'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 5:3

RE: [PHP] PHP SQL Code

2003-03-02 Thread John W. Holmes
> I would like yo show the users in a list that have a date that is more > than > 60 days old. $sql = "SELECT * FROM stompers WHERE sUpdated < CUR_DATE() - INTERVAL 60 DAY AND sActive = 'Y' ORDER BY sUpdated DESC"; ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Ge

Re: [PHP] PHP SQL Code

2003-03-02 Thread Tim Ward
ED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 02, 2003 7:46 AM Subject: [PHP] PHP SQL Code > I would like yo show the users in a list that have a date that is more than > 60 days old. > > > $sql = "SELECT * FROM stompers WHERE sUpdated < > from_unixtime(unix_time

[PHP] PHP SQL Code

2003-03-01 Thread Philip J. Newman
I would like yo show the users in a list that have a date that is more than 60 days old. $sql = "SELECT * FROM stompers WHERE sUpdated < from_unixtime(unix_timestamp(now())-(15760*60)) AND sActive = 'Y' ORDER BY sUpdated DESC"; This don't quite work .. Any suggestions? -- Philip J. Newman

Re: [PHP] PHP/SQL - inserting into database null results

2002-08-21 Thread Tom Rogers
Hi, Wednesday, August 21, 2002, 11:25:30 PM, you wrote: n> I am a new person to PHP. I have purchased and read PHP fast & easy by n> Julie Meloni and have also read the 24 hours PHP book. I am able to connect n> to the SQL database and insert into the database via my html form. However, n> the

[PHP] PHP/SQL - inserting into database null results

2002-08-21 Thread news
I am a new person to PHP. I have purchased and read PHP fast & easy by Julie Meloni and have also read the 24 hours PHP book. I am able to connect to the SQL database and insert into the database via my html form. However, the values are null. When I look at the data in my database, it reads "

[PHP] PHP/SQL programmer position open Portland OR/Vancouver WA area.

2002-04-04 Thread Eric JT Harlow
Group, My consulting company has a fulltime open position located in Vancouver WA. We are a fast-moving/flexible/customer driven company looking for the same in our new PHP/SQL programmer. If interested please send your resume and salary history to: [EMAIL PROTECTED] Thank you for your time,

[PHP] PHP, SQL and all that stuff...

2002-02-11 Thread Liam MacKenzie
Ok guys, I've been pondering over setting up a free PHP/SQL hosting service for some time now, but never really actually done it. It looks like just the mention of it got some seriously positive feedback, so I'm keen to actually do it properly. But... I need some help with security. With a bit

[PHP] PHP/SQL login problems

2002-01-07 Thread Jeremy Reed
I am having problems connecting and pulling data from a local SQL server. I have set up a user and, as far as I can tell, all the settings for the user are correct. However, when I try to pull data using the user, I get empty result sets--almost as if I don't have SELECT permissions. When I log

[PHP] php/sql code gives blank page

2001-08-03 Thread sono
I created a little php script to run and display stuff on my browser for printing. When I run the command I get a blank page though. I tested the syntax of my command in mysql and on phpMyAdmin to make sure it worked. Here is the code: -