Re: [PHP] mysql_num_rows()

2011-02-21 Thread Deva
mysql_num_rows($result); > echo "$county_total"; > > echo 'You Have ' . "$county_total" . ' Counties '; > > ?> > -- > Gary > > > > __ Information from ESET Smart Security, version of virus signature > database 5894 (20110221) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- :DJ

[PHP] mysql_num_rows()

2011-02-21 Thread Gary
mysql_fetch_array($result)) {$i++; echo $row['name']; } $county_total=mysql_num_rows($result); echo "$county_total"; echo 'You Have ' . "$county_total" . ' Counties '; ?> -- Gary __ Information from ESET Smart Security, versi

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-21 Thread Nazish Zafar
Thanks! -- I'll definitely look into Netbeans. (The IDE that I was using didn't seem to recognize syntax errors.) On Mon, Feb 21, 2011 at 4:13 AM, Pete Ford wrote: > > Nazish, > Find yourself an editor or development environment that does source code > highlighting - this sort of error will be

Re: [PHP] Jquery

2011-02-21 Thread Adam Richardson
On Mon, Feb 21, 2011 at 7:56 AM, Ellis Antaya wrote: > Hi, first, like everyone else before me told already, you forgot to load > jquery in your page. > Example : > http://code.jquery.com/jquery-1.5.min.js > "> > > Also, i would change your script to remove the first function that was > wrappi

[PHP] Solr Extension - Changing the wt-Parameter from xml to json

2011-02-21 Thread Thomas Junghans
Hi I'm using the Solr extension (http://php.net/manual/en/book.solr.php) to create a search site for a company. I am trying figure out a way of changing the "wt"-parameter from "xml" to "json". I have searched already but with no success so far. Further information to help with my question: -

Re: [PHP] New to list and to PHP

2011-02-21 Thread Bastien Koert
On Mon, Feb 21, 2011 at 9:37 AM, Pete Woodhead wrote: > On 2/20/2011 6:41 PM, Richard Quadling wrote: >> >> On 20 February 2011 23:34, Richard Quadling  wrote: >>> >>> On 18 February 2011 19:03, Pete Woodhead >>>  wrote: Hi I'm Pete Woodhead. Â I'm new to the list and to PHP. Â To be hon

Re: [PHP] About mobile apps

2011-02-21 Thread Daniel Brown
On Mon, Feb 21, 2011 at 06:01, Webforlaget.dk wrote: > Is there any problem with submitting data on webside-form from af mobile > device or is it a demand to develop a application for the device in order to > keep data safe. > > what is the benefits u get from an application comparring to the > de

Re: [PHP] New to list and to PHP

2011-02-21 Thread Pete Woodhead
On 2/20/2011 6:41 PM, Richard Quadling wrote: On 20 February 2011 23:34, Richard Quadling wrote: On 18 February 2011 19:03, Pete Woodhead wrote: Hi I'm Pete Woodhead. Â I'm new to the list and to PHP. Â To be honest I very new to code writing. Thought this would be a good way to learn good ha

Re: [PHP] New to list and to PHP

2011-02-21 Thread Pete Woodhead
On 2/20/2011 3:47 PM, tedd wrote: At 2:03 PM -0500 2/18/11, Pete Woodhead wrote: Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very new to code writing. Thought this would be a good way to learn good habits as well as good code writing. Looking forward to learning and

Re: [PHP] New to list and to PHP

2011-02-21 Thread Daniel Brown
On Sun, Feb 20, 2011 at 18:51, tolga wrote: >> > i'm interested in php about 3 maybe 4 years but i still couldnt get the > logic of classes. it makes no sense to me. Nor do mailing list rules or Internet etiquette guidelines, apparently. You know, the ones that say, "don't hijack someone els

[PHP] Streaming to a file.

2011-02-21 Thread Richard Quadling
Hi. Is there a way to use streams such that I can have my source stream as "bzip2 . decompress : / / data . bz2" (had to add spaces as I think this is causing a bounce on the lists for php) and my output stream as "data", without having to read from one and write to the other in a loop? Essential

Re: [PHP] Re: 9970318527584

2011-02-21 Thread Richard Quadling
On 21 February 2011 07:46, Gary wrote: > Richard Quadling wrote: >> nada. > Please stop posting my bank account balance! OK. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] New to list and to PHP

2011-02-21 Thread Richard Quadling
On 20 February 2011 23:51, tolga wrote: > 21.02.2011 01:41, Richard Quadling yazmış: >> >> On 20 February 2011 23:34, Richard Quadling  wrote: >>> >>> On 18 February 2011 19:03, Pete Woodhead >>>  wrote: Hi I'm Pete Woodhead.  I'm new to the list and to PHP.  To be honest I very >>>

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-21 Thread Pete Ford
On 20/02/11 21:37, Nazish wrote: Issue resolved! It turned out to be the use of quotations. Instead of double quotations to surround the $insert variable, it worked with single quotations: $insert = ' INSERT INTO user_info (login,password) VALUES ("'.$login.'", "'.$passw