I need this to change the value of the button 'sit in' to the name of a
user --it doesnt work so anyone got any ideas or is what i am looking to do
impossible.
Either the button name can show the username or a text field can change from
blank to show the username when clicked.
--
PHP G
Also, after I looked at more of your code you will need to specify the php
extension in only one of two places. Currently you are specifying it in 1)
the code below and in 2) nav.php and in nav.php you don't have it specified
for the "main" but you do for the other links. That means that the code
first remove the space between GET and [
I think this keeps your script from find the variable "page"
secondly the variable "page" already has the php extension being passed to
it via the GET statement
make the include like:
{include($_GET['page']);}
try it and let us know.
Mark Cain
> >>The c
Here is all of the page, except one or two and the
images.
Thomas
--- Mark Cain <[EMAIL PROTECTED]> wrote:
> YES let see the src
>
> - Original Message -
> From: "Thomas Bonham" <[EMAIL PROTECTED]>
> To:
> Sent: Sunday, May 01, 2005 11:31 PM
> Subject: Re: [PHP] Newbie Help
>
>
> > I
I Think the .php.php is the problem but I don't know have to fix it.
Let me know if you won't to see the full src page.
Thomas
Mark Cain wrote:
Perhaps the path to the included files is incomplete:
according to your error message you are trying to open
links/index.php.php
Does it need both of the d
Perhaps the path to the included files is incomplete:
according to your error message you are trying to open
links/index.php.php
Does it need both of the dot php's ??
Would it help to include the full path to the includes such as:
/home/bonhamli/public_html/links/index.php.php
so something like
Andre Dubuc wrote:
On Sunday 01 May 2005 10:39 pm, Thomas Bonham wrote:
Hello All,
First of I'm new to this a hop I'm doing this right.
If some one can help me with my web site page. I'm trying to make it
call a page and I get a error line 42. Error:
http://bonhamlinux.org/idex.php?page=links/index
On Sunday 01 May 2005 10:39 pm, Thomas Bonham wrote:
> Hello All,
>
> First of I'm new to this a hop I'm doing this right.
>
> If some one can help me with my web site page. I'm trying to make it
> call a page and I get a error line 42. Error:
> http://bonhamlinux.org/idex.php?page=links/index.php
Hello All,
First of I'm new to this a hop I'm doing this right.
If some one can help me with my web site page. I'm trying to make it
call a page and I get a error line 42. Error:
http://bonhamlinux.org/idex.php?page=links/index.php
The code that I'm trying to do this is the following:
My site is:
Hello All,
First of I'm new to this a hop I'm doing this right.
If some one can help me with my web site page. I'm trying to make it
call a page and I get a error line 42. Error:
http://bonhamlinux.org/idex.php?page=links/index.php
The code that I'm trying to do this is the following:
My site i
Richard Lynch wrote:
On Sun, May 1, 2005 12:54 pm, Evert | Rooftop Solutions said:
I'm working on a template engine, and I want my template engine to be
automaticly started when a .stl file is called from the browser.
I know this can be done with mod_rewrite, but I really need a
platform-indepen
i've created file upload scripts in the past that allows multi-upload inputs
using the bracket [] array in form.
so now i have to create the same type of script but each file input field
will also be followed by a text box for a "file caption" type thing.
what would i used for the input text box?
On Sun, May 1, 2005 1:46 pm, Murray @ PlanetThoughtful said:
>> -Original Message-
>> From: Richard Lynch [mailto:[EMAIL PROTECTED]
>> Sent: Monday, 2 May 2005 6:16 AM
>> To: Murray @ PlanetThoughtful
>> Cc: php-general@lists.php.net
>> Subject: RE: [PHP] Problem with array
>>
>> On Sun, Ma
On Sun, May 1, 2005 1:47 pm, Gabriel Birke said:
> Is empty() some kind of special function where the validity
> of indices is not checked?
Bingo!
That's rather the whole point of empty and isset. :-)
The behaviour of empty has changed over time, with various releases.
isset seems more "stable"
NSK wrote:
hi
how can I ensure that php5-mysqli is correctly loaded? the server is SuSE9.3
and I have installed the package from yast, but one app (phpmyadmin) says it
cannot find the mysql extension (although other apps can query the db).
which config files are responsible for loading mysqli in
>From the Manual:
empty() is the opposite of (boolean) var, except that no warning is
generated when the variable is not set
It appears that there is a revamp of what is considered to be empty in PHP
5.
http://php.net/empty
You might be better served with
array_key_exists()
such as:
echo arra
Gabriel Birke wrote:
Hello!
Suppose I have the following code:
$a = array('a'=>1, 'b'=>2);
echo empty($a['c'])?'empty':'not empty';
echo $a['c'];
Why doesn't the 2nd line output a warning when error_reporting is set
to E_ALL? Is empty() some kind of special function where the validity
of indices is
Hello!
Suppose I have the following code:
$a = array('a'=>1, 'b'=>2);
echo empty($a['c'])?'empty':'not empty';
echo $a['c'];
Why doesn't the 2nd line output a warning when error_reporting is set
to E_ALL? Is empty() some kind of special function where the validity
of indices is not checked? If t
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Monday, 2 May 2005 6:16 AM
> To: Murray @ PlanetThoughtful
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] Problem with array
>
> On Sun, May 1, 2005 1:08 pm, Murray @ PlanetThoughtful said:
> > Color me conf
On Sun, May 1, 2005 12:54 pm, Evert | Rooftop Solutions said:
> I'm working on a template engine, and I want my template engine to be
> automaticly started when a .stl file is called from the browser.
> I know this can be done with mod_rewrite, but I really need a
> platform-independant solution. H
On Sun, May 1, 2005 1:08 pm, Murray @ PlanetThoughtful said:
> Color me confused. I removed "global $arrtree;" and added "$arrtree =
> array();" to the function buildProjectTree() and now the parent function
> (listProjectChildren) returns no values at all.
>
> I've checked the page from which list
On Sat, April 30, 2005 8:16 pm, Rasmus Lerdorf said:
>> php -a
>> > $foo = array('a'=>'apple', 'b'=>'banana', 'c'=>'coconut');
>> while (list($k, $v) = each($foo)){
>> echo "$k: $v\n";
>> }
>> ?>
>> Content-type: text/html
>> X-Powered-By: PHP/4.3.11
>>
>> a: apple
>> b: banana
>> c: coco
Hi Richard,
Color me confused. I removed "global $arrtree;" and added "$arrtree =
array();" to the function buildProjectTree() and now the parent function
(listProjectChildren) returns no values at all.
I've checked the page from which listProjectChildren() is being called, and
$arrtree does not
Hi,
I'm working on a template engine, and I want my template engine to be
automaticly started when a .stl file is called from the browser.
I know this can be done with mod_rewrite, but I really need a
platform-independant solution. Has anybody some ideas on how to make it
work everywhere (prefer
On Sun, May 1, 2005 1:35 am, Anasta said:
> Hi, is this possible--
> I need a user (already logged in) to click on a button and his username
> shown in a text box next to it.
> This is for a chat and they need to be seated similar to poker game where
> they sit-in/sit out.
What am I not getting
On Sun, May 1, 2005 10:21 am, Murray @ PlanetThoughtful said:
>
> function listProjectChildren($contid, $list=''){
>
> if ($contid<>''){
>
> $arrtree = array();
>
> $arrtree = buildProjectTree($contid, $level=1);
>
>
On 5/1/05, NSK <[EMAIL PROTECTED]> wrote:
> how can I ensure that php5-mysqli is correctly loaded?
if( !in_array( 'mysqli', get_loaded_extensions() ) )
{
if( !dl( 'mysqli.so' ) )
{
echo "mysqli.so extension is not loaded";
}
}
> the server is SuSE9.3
> and I have installed the
Hello,
on 05/01/2005 01:45 PM Danny Brow said the following:
I'm about to start writing a big web app (mostly in PHP). But I'm not
sure if I should layout the DB first then write the app, or should I
just start writing the app and add stuff to the DB as I need it. How do
you guys go about it?
If yo
Hi All,
I have 2 function, 1 which calls another, that I am attempting to use in a
page with, currently, some problems.
In essence, I have a hierarchical recordset table called tbl_content (contid
and parid, where parid contains the contid of the record to which the
current record belongs).
> I'm about to start writing a big web app (mostly in PHP). But I'm not
> sure if I should layout the DB first then write the app, or should I
> just start writing the app and add stuff to the DB as I need it. How do you
> guys go about it?
You can't predict everything, but if you don't try to de
On Sun, 2005-05-01 at 18:53 +0200, Gabriel Birke wrote:
> You could avoid the decision if you use the O/R mapper propel:
> http://propel.phpdb.org/wiki/
I'm using Pear DB (via PG). And then I'm going to port to postgresql.
I've got most of the tools I'm going to use for the project worked out.
Ju
hi
how can I ensure that php5-mysqli is correctly loaded? the server is SuSE9.3
and I have installed the package from yast, but one app (phpmyadmin) says it
cannot find the mysql extension (although other apps can query the db).
which config files are responsible for loading mysqli in apache/ph
> I'm about to start writing a big web app (mostly in PHP). But
> I'm not sure if I should layout the DB first then write the
> app, or should I just start writing the app and add stuff to
> the DB as I need it. How do you guys go about it?
>
> Thanks,
> Dan.
>
Dan,
The single-greatest thin
By asking "What do I need from the app?"
or
"What questions will the app have to answer?"
or
"What information does the client want?"
and going from there.
Those are all just about the same question. From there you can determine
needed inputs, tables, keys, etc.
Cheers - Miles
At 01:45 PM 5/1/200
I'm about to start writing a big web app (mostly in PHP). But I'm not
sure if I should layout the DB first then write the app, or should I
just start writing the app and add stuff to the DB as I need it. How do
you guys go about it?
Thanks,
Dan.
--
PHP General Mailing List (http://www.php.net/)
Hi, is this possible--
I need a user (already logged in) to click on a button and his username
shown in a text box next to it.
This is for a chat and they need to be seated similar to poker game where
they sit-in/sit out.
Any help apreciated !
--
PHP General Mailing List (http://www.php.net/)
T
36 matches
Mail list logo