I've been told (in this newsgroup as well :) that PHP automatically closes
the MySQL connections on closing the file or session..
probably when you ended your last '?>' PHP closed the MySQL connection
a way to solve it is to insert the closing-command right after you finished
using the connection
this is an HTML-problem, not php..but anyway
i have no clue why the extra space would appear,
but I'd try to add absolute positiong to the HR and IMAGE as well, that
should solve the problem
like:
grace
mic
is there any possibility using PHP 4 to store entire files as a database
field in a MySQL database?
and if so, does anybody know a way, or a tutorial describing this?
thanks
michiel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my problem is this
I have some variables defined which i'm sending through get
// input's etc
now I have $var1 defined in my PHP and I want to send it through that GET as
well
is there a way to do this?
so it's not a user-defined but php-defined var, which i need to send through
the form
any
your script is over (unless you use
> pconnect), you can not really find out the window has been closed.
>
> you don't need to worry about any crash, sql server will take care of this
>
> Michiel van Heusden wrote:
>
> >i'm working on a chat-app which has to be extrem
i'm working on a chat-app which has to be extremely plain and simple
mysql is available
i tried stripping some of the big scripts, but ended up in a mess
so i've ended up building a little app myself
i'm just wondering whether i'm using the right principe to get the data
refreshed in the chat..
I'm using this script to test passing arrays to a Session-variable.
";
echo $array2[0];
?>
method 1 doesn't work until another PHP is loaded, only then the var is
ouputted...
method 2 works fine, but i'd prefer using $_SESSION all the way instead of
session_register
any suggestions?
grace
michie
my experience is
that interaction between flash and php runs best through GET
so, you could try using GET instead of POST
and in your actionscript
insert the ';' on the end of the lines for:
test = this["list_label"+i]
myItem.label = test
grace
michiel
"Pei_world" <[EMAIL PROTECTED]> wrote in m
$db = mysql_connect$db_host, $db_user, $db_pass)
or die ("Cannot connect to database");
mysql_select_db("$db_name", $db)
or die ("Cannot select database");
$result = mysql_query($query ,$db)
or die ("Query not executed");
and all the outputting code...
grace
michiel
"Cf High" <[EM
thanks for your reply
> What I do in these cases is either having Or use a file (something.php) which spits text like var1=&var2=.
> Flash can read that file and get the variables
the second one is not a possibility, because I need flash to have the vars
before operating. the variables ar
i want to pass variables to a shockwave-flash-file
currently that's working fine with
print "
etc...
but passing the variables through GET makes iexplore think it's loading a
new *.swf-file
how to fix this?
1) is there a way around using GET to pass the variables from PHP?
2) is there a way to
i have quite an easy question:
is there a way in PHP to trace the selection in a certain form-field?
i need this for building a simple html-edit application,
which allows a user to select his/her text within a field, and then click
'bold' for instance..the PHP should insert before the selection,
never mind it
i've solved it trimming the $replace and $replacement before using them in
ereg_replace()
thanks anyway
"Michiel Van Heusden" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i'm creating sort of a very simpl
i'm creating sort of a very simple css-alike-thing for outputting html to
flash actionscript.
the php gets a string ($text) from the database, which look something like:
header 1 etc...
then, from a 'css' file it reads the strings $replace and $replacement
it looks something like:
$number =
you could use stripslashes or stripcslashes to remove the '\'-s, otherwise i
wouldn't know..
"Pag" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi,
>
> When a user wants to add a comment on my site and uses either " or ', and
> when it gets printed out, c
hi there,
i'm having a small problem, wondering if anybody can help
// a line in my script defining $url
$url = $directory . '/main.php?id=' . $id;
// a line later on in the frameset calling this $url
echo '';
this gives me a paring error on the last line
any suggestions??
thanks
michiel
sorry..I'm quite new in this php-stuff
i've got a little problem
if I write
a$ = "test";
b$ = "test2";
data$ .= a$ . " " . b$ " ";
echo data$;
it outputs:
"test test2"
instead of:
"test test2 "
I really need that spaces..
any help?
thnx
--
PHP General Mailing List (http://www
anybody help me please...
how can I open a file from php (something like require, but without closing
the php-file)
and then send some string to that file with POST
is thispossible?/?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
I needto use php to open *.swf,
and then send some xml code to it.
anyone knows if this is possible,
and if so, how to send code (via POST) to the *.swf after opening it?
thnx
Michiel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
19 matches
Mail list logo