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
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
-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 my
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
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 still reply though :)
--
PHP Database Mailing List
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 your
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 from each
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
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.
Many
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
1: Rid any whitespace between '?php' and 'session_start()'
That makes no difference as long as you are not producing any output.
You can have spaces and code withing the php brackets, just not echo anything.
But don't have any spaces prior to ?php since it will be echoing a character.
The
I wrote this cleanup function:
function cleanup($copy)
{
$copy=trim($copy);
$copy=htmlspecialchars($copy, ENT_QUOTES);
$copy=eregi_replace (%, #37;, $copy);
$copy=eregi_replace (, lt;, $copy);
$copy=eregi_replace (, gt;, $copy);
$copy=eregi_replace
Hi Kodrik:
I just looked at your function and would like to use it myself, but shouldn't
the ampersand line:
$copy=eregi_replace (amp;, , $copy);
look like this instead? So it matches the other lines that have a symbol
replaced by HTML??
$copy=eregi_replace (, amp;, $copy);
Cheers.
Russ
14 matches
Mail list logo