Re: [PHP] MSSQL 7.0 and PHP

2001-10-24 Thread James Cave
> varchar only accepts values up to 255 (so does char) I've found this too .. MS-SQL probably ceil()s the parameter in the table create statement to 255 without throwing an error. Have a quick look at the column you've created and you'll probably find it's a char(255). > To get larger than tha

[PHP] re: socket question

2001-10-24 Thread James Cave
There is some source code on the php.net site which captures the credits with output buffering and then uses then in the page. Once you have the data in a variable you can do what you like to it. if (function_exists('ob_start')) { ob_start(); phpcredits(); $credits = ob_get_content

Re: [PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-23 Thread James Cave
> I gave it a try > NN4.7 and 6.1 both ignored the 'display: inline' css in my test There was actually an error in the HTML I posted, try this: 1. form tag outside of cell 2. form tag outside of cell 3. form tag outside of cell 4. form tag outside of row 5. form tag outside of row 6. form tag o

[PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-23 Thread James Cave
> if your form is inside a table .. hide the tags In my experience, this just "moves" the closing whitespace to the end of the table (just like if you insert text incorrectly between a and a ). The previous post I've made using the "display: inline;" style is in fact W3C compliant. -- PHP G

[PHP] Re: Max int value of char field? How to find...

2001-10-22 Thread James Cave
> How can I find the highest integer value in a result set like: > 1 > 10 > 11 > 2 > 3 > a > ab > abc If the table isn't huge, you could pull back all the values and try PHP's natsort() function. That will apply a natural sort algorithm, ordering the numbers as you expect, but I'm unsure whether

[PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-21 Thread James Cave
> form tag in NS (4x - 6x) there is some additional space The form tag is a block level tag, thus white space will be appended after the closing tag. To avoid this, I use a style on the form element. I do this for both IE and Navigator, in different ways, as I've found they seem to react diffe