ote:
> $var = "time";
> $var2 = "clock";
> echo "$var$var2";
> //outputs timeclock
>
> $two_vars = "$var$var2";
> echo "$two_vars";
> //outputs timeclock
> ?>
>
> Why put two variables in one field? But if you want
Greetings.
Does anyone know how to do this?
I have,
$var
$var2
In a field called two_vars in a MySQL db.
I am calling the variables inside PHP document.
In that document I am saying:
$var = "time"
$var2 = "clock"
echo "$two_vars";
But the what prints out is
$var
$var2
not "time" an
Does anyone know how to include a variable page? The variable is a page
name. Such as "inluded_file.html"
Include ('../includes/$include');
Does not seem to work.
Thanks!
--
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have an if statement, and if it is true, I want PHP not to continue.
How do I do this?
The following statement is true
If ($a = $b){
This
}
Do not continue to the next piece of code, if false, continue to the next
piece of code.
Thanks for any help.
--
Steve Marquez
[EMAIL PROTECTED]
--
Hello,
I would like to first thank everyone for their help with the last few
questions I have had. I really appreciate it.
Here is my question:
if ($audio == "Cool"){
Do this
}else{
Do that
}
This work fine, however, I would like to add to the criteria above. I would
like to say:
if ($au
Hello all,
I am wanting to paginate records from a MySQL Database.
I want there to be 5 records on a page, on multiple pages.
Can someone point me in the right direction or show me a way to do this?
I can get five records on a page with a LIMIT statement, however, I can not
get it to show the fi
for the
option that was selected and is in the database to be displayed as the
selectd option.
Does anyone know how I can do this, or can you point me in the right
direction?
Thank you,
--
Steve Marquez
Marquez Design
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I am trying to display information in an html table from a MySQL data base.
I can do this rather easily, however, I am trying to multiply that table
with as many entries there are in the database.
Can someone point me in the right direction or give me an example of how I
can accomplish this?
I ca
.
Does anyone know how I could do this?
I hope this makes sense.
--
Steve Marquez
Marquez Design
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greetings all,
I am currious if someone could point me to a script to list the content of a
directory, then link to each file in that directory.
Example:
The directory contains 80 .GIF files. I want to create a page that will have
links to each file.
Is this possible?
Thank you very much,
--
10 matches
Mail list logo