This is my first time programming with PHP. I have seen include files in
the beginning of a php block and wonder is there a specific syntax used in
these files and how secure this is vs code in my .php page?
Can someone show me a small example of what the include file might look like
that would
hi kat,
the include files are simply a way for repetitive code (like a connection to
a db) to be inserted into your pages.
the syntax for the files is the same as any php script and it is added to
the page at the point that you include it.
the format is
include (page_name.php);
the pages
This is Sample:
$conn= mysql_connect(localhost,login,passwd) or die (ERREUR de
connexion au Serveur);
$result = mysql($conn, SELECT id, name, salary FROM employees);
But,Error appear.
supplied argument is not a valid mysql/Link resource in line xx
--
PHP Database Mailing List
Hi there:
I'm stil having problems with this query in that it doesn't bring up any results!
Here is the select menu that refreshes the page and deposites the var: 'sortedBy'
into play:
form
select name=\sortMonth\ onChange=\MM_jumpMenu('parent',this,0)\;
option--select one--/option
option
ok. try this.
ahven't tested it though ...
form name=thisForm action = ?php print $PHP_SELF ?
?php
// to dump out the months
$months = Array(January, February, March, April, May, June,
July, August, September, October, November, December);
echo 'select name=sortMonth
What I've done is I set up an INPUT box on the site, where you type in your
e-mail address. Upon hitting submit, I query the database looking for the
persons e-mail address. If it's there, I send it to them, if not I inform
them that they aren't in the database. This is the code I use for
At 26.04.2001 16:20, you wrote:
I was wondering if anyone had any ideas on how I can setup a email system ,
internal using php and mysql only .. No Imap Server, or POP. Can someone
please guide me in the right direction ,, this is email sysetm would be only
for registered members. I am setting up
That is not the problem. @ and . need not be escaped. It's got to do with
the array that stores the file. Just need to dump the array and try to
debug.
Any idea on how I can dump an array
regards,
kancha
On Thu, 26 Apr 2001 00:30:40 +0530, Subodh Gupta wrote:
Hi Kancha,
Since you are
hi
i got to have data from mysql database to drop down menues in html how do i
do that?
I can´t get any data to my drop down menues...
thanks to anyone who can do this...
ns
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
on 4/26/01 11:16 AM, ns ([EMAIL PROTECTED]) wrote:
hi
i got to have data from mysql database to drop down menues in html how do i
do that?
I can´t get any data to my drop down menues...
You need to run a query, something like:
SELECT DISTINCT from TABLE where SOMETHING
and they run a
Providing additional information such as the OS your useing as well as
your mysql version can be a big help as well.
franky wrote:
I have this error
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
(111)
what appening?
AND I CANT connect to mysql for html
At 26.04.2001 20:53, you wrote:
I have this error
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
(111)
sounds like MySQL is not running on your server.. ensure it's installed
properly and has actually started, i think typing
mysqladmin -p version
at the
Sorry to do this to ya...
Ive been involved with PHP for a total of two days now, and I'm kinda
stumped. I've been looking in docs for about 4 hours now for this, and I'm
sure I'm slipping right by the obvious answer somewhere, but
What's the best (recommended) way to determine if a table
Doh!
Sorry about that - yes, it's MySQL. And I complete blew by
mysql_list_tables - I mis-read what I thought it did, then didn't look at it
any further...
I told you it was embarrasing...
Thanks!
http://www.bustdustr.net
Home of Radio Free Bd
You didn't mention what DBMS you are running...
Hi all
I would like to offer my users the chance to have their username and
password sent to them via the email address stored.
As i see it i have two issues
(1) how do i do the verify email thing where the script send a click here to
confirm email address on registration application
(2) how
I was wondering if anyone had any ideas on how I can setup a email system ,
internal using php and mysql only .. No Imap Server, or POP. Can someone
please guide me in the right direction ,, this is email sysetm would be only
for registered members. I am setting up a dating site.. Any help would
16 matches
Mail list logo