These should be helpful:
http://zc8.net/zc8/shownews.php?articleid=93
http://zc8.net/zc8/shownews.php?articleid=95
http://zc8.net/zc8/shownews.php?articleid=98
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I use mysql_fetch array to retrieve large text data many many times
without a problem. I've actually written functions to retrieve the data for me using
this
function, and I never had a single problem, truncated or speed, on Unix,
Linux or Windows platform.
Check out the code for the functions
On Wednesday 03 July 2002 13:27, you wrote:
> ... At least, I found it challenging. Hopefully someone here will find
> this a lot easier =)
>
> I am developing a website wherein customers can log in, enter in the
> name and type of their business (rather like the yellow pages.) I have a
> da
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> > I want to put PHP code into database fields holding HTML text, how
> > can I make it execute that PHP before sending to the browser??
I save the code into a file and save the url of the file into a database and
then just include that file into
Kodrik wrote:
> If I have a variable, how do I extract the name of the variable.
>
> In principle:
>
> $varname=somefunction($myvar);
>
> The value of $varname is then "myvar"
>
> How do I do it?
Sorry, this was meant for the general list. You an st
If I have a variable, how do I extract the name of the variable.
In principle:
$varname=somefunction($myvar);
The value of $varname is then "myvar"
How do I do it?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 16 February 2002 07:35 pm, you wrote:
> Is it possible to get the AUTO-INCREMENTed ID's value while doing an INSERT
> and have the value INSERTed to another table in the same FORM ?
>
> Raju
mysql_query("insert whatever");
$insertid=mysql_last_insert();
Then you use this value for y
On Monday 07 January 2002 04:48 am, Barry Rumsey wrote:
> One last question for tonight as I have been given alot of help from this
> group to keep me going for awhile.
>
> I would like to set up one of those " A B C D E F " page listings. How do i
> query the database to grab the first letter fro
Yes, you can make an exec call.
This is how I made the pipe to Zork at http://phpzork.com
On Sunday 25 November 2001 03:50 pm, Matthew Tedder wrote:
> Using PHP, how can I spawn a process and execute non-PHP code
> off the console?
>
> --Matthew
--
PHP Database Mailing List (http://www.php.net/
you have
You have twice "action" and are missing the "method".
In your case, I guess it would be "get".
I didn't read on, so you might have more errors.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
I wrote this a few month ago for the db comparaison. It's simple and you can
easily add to it:
http://zc8.com/zc8/ZC8news/shownews.php?articleid=571
As for PHP my reasons are:
* No need to typecast which makes it easier to code.
* You can have multi-dimensional multi-cast arrays which in many ca
> >I'd also be interested in what people are charging as I'm thinking of
> >setting up as a contractor myself and it would be nice to have a 'ball
> > park' figure of what the going rate is ...
A lot depends on what you've done and the image your customer has of the
value of what you are doing.
> >1: Rid any whitespace between ' >2: You need to populate the variable you wish to use as a session
> >variable before registering it
I don't agree with that either
>> Without even going to another page, the $PHPSESSID and
>> $UserName variables are both empty. They are also empty on subsequ
What I do is have an invisible frame that checks the timestamp of the last
update to the chat against your last refresh timstamp.
If it's superior, I refresh the chat list.
I actually make this check without a call to the database, if you have 100+
chatters, check calls to the db can become heav
>>Hi Kodrik:
I just looked at your function and would like to use it myself, but shouldn't
the ampersand line:
$copy=eregi_replace ("&", "&", $copy);
look like this instead? So it matches the other lines that have a symbol
replaced by HTML??
$copy=eregi_
I wrote this cleanup function:
function cleanup($copy)
{
$copy=trim($copy);
$copy=htmlspecialchars($copy, ENT_QUOTES);
$copy=eregi_replace ("%", "%", $copy);
$copy=eregi_replace ("<", "<", $copy);
$copy=eregi_replace (">", ">", $copy);
$copy=eregi_r
Why don't you let them enter it however they want in the form
mm-dd-
mm/dd/yy
then in the php script that processes it, convert it with regulat expressions
to a timstamp and enter it in your database as an int. That's how I do it.
I don't understand the point in using the mysql timedate fiel
17 matches
Mail list logo