since this doesnt apply to php in any way whatsoever or any php code i think
it should be kept off of the php mailing list
actually it sort of looks like spam/junk mail
- Original Message -
From: Chinmoy Barua [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 06, 2003 2:43 AM
well in my case all i have to do is just push the block button on the
message and *poof* all gone... even on the php list thats all i have to do
(all the messages get sent to me from the original sender not the mailing
list itself)..
- Original Message -
From: daniel [EMAIL PROTECTED]
hi
having a little problem with apache and its customizable error messages
i have a basic authentication system here:
##in file called deletepost.php i have:##
?php
header(www-authenticate: basic realm='delete post login');
header(http/1.0 401 Unauthorized);//assuming this line is
//for logins
passed like that due to url encoding, but when you access
that query string variable, it won't be there.
try using the POST method with your form instead if you still have
problems.
there are also some PHP functions like encode and unencode i think.
search the php site for them.
From: Sunfire
just wondering... does smarty have to be installed on the server where the
web site or php scripts it makes are going to be ran... or do you just make
the stuff and put on the server like normal php files...
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
k then that wont be able to be a choice for me then... will try maguma
studio then..
- Original Message -
From: Rich Gray [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 5:58 AM
Subject: RE: [PHP] question about smarty
just wondering
hi..
went and installed maguma that has php 4.3 in it and then went to start
apache up again after setting up the new php.ini file.. and ran into a few
problems.. i keep getting a warning from php:
php warning: cant load dynamic library c:\program
files\maguma\php\extensions\php_dbg.dll a device
PROTECTED]
Sent: Tuesday, March 04, 2003 9:35 AM
Subject: Re: [PHP] question about smarty
Sunfire [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
k then that wont be able to be a choice for me then... will try maguma
studio then..
I think you have misunderstood the posting, since
ok put an example in
- Original Message -
From: Boaz Yahav [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 2:09 PM
Subject: button and /button
This looks like a great example to add to weberdev.
would you care to spend 3 minutes and let other PHP
the list of errors above and make notes of them then press [esc] to
exit:
any ideas of what the deal is?
- Original Message -
From: Barajas, Arturo [EMAIL PROTECTED]
To: 'Sunfire' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 10:15 AM
Subject: RE: [PHP] maguma problems
dont know..i would think you could but i have all my php tasks like crontabs
running in windows and they work just fine... hehe didnt think i could do
that but when i tried it it worked grin!
- Original Message -
From: John Taylor-Johnston [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
is there a way you can change the text color on buttons as well as the
background color for a button? i have a button that looks like:
input type=button name=edit value=edit
onclick=window.location='edit.php';
onkeypress=window.location='edit.php'
so is there a way to change text color and
i have a might i say a very very large/long query string i have to run to
pass variable values from one page to another with a button... the button
works and the query string are passing variables right but at the end of the
query string (it passes like 21 variable values) the last variable
tried everything except session vars and the query string is still broken...
no matter what i do for some reason the browser wants to always put %20 in
the middle of my words (i.e. hello world as one var will come out as
hello%20world)
any other ideas
---
Outgoing mail is certified Virus
hi..
i guess this is a php related question (well sort of) the person i work
with decided that he was going to edit a few of my php scripts that make a
web page out of variables and just different conditions that happen in the
script.. he thought that he could use a gui html editor and edit the
to know if i have layout
problems or if the guy is taking his sight for granted...
tnx
- Original Message -
From: Darren Young [EMAIL PROTECTED]
To: 'Sunfire' [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 3:22 PM
Subject: RE: [PHP] php and html differences
No, there are no test
Message -
From: Larry Brown [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 3:32 PM
Subject: RE: [PHP] php and html differences
3 or more possible pages from one php page is what php was designed for.
It
dynamically creates the page depending on what choices
already did that.. he even said whats new... *fear that* if i work for
someone like that?? hrm...
- Original Message -
From: Leif K-Brooks [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 3:55 PM
Subject: Re: [PHP] php and html
- Original Message -
From: Ernest E Vogelsinger [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 5:58 PM
Subject: Re: [PHP] php and html differences
At 21:25 02.03.2003, Sunfire said:
[snip]
i
where could i get a templet editor from that is good and fairly easy to use?
- Original Message -
From: Jason Sheets [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, March 02, 2003 7:07 PM
Subject: Re: [PHP] php and html differences
On Sun, 2003-03-02
i have a query:
mysql_query(update members set where '$edit[company]'='$company)
anyways there are 2 sources using this query.. one that needs the
$edit[company] marker and another one that uses a $company marker.. any way
i can make that 1 query deal with both sources?
and i also
how would you show a header message or basically force apache to show an
error page of its own like 401 if someone hits cancle on the php auth header
function?
and i have a line like:
header(WWW-Authenticate: basic realm='a realm name');
//i know what that means look at next line...
hi
basic question about www-authenticate header...(least i hop its simple)
i have the code:
?php
header(WWW-Authenticate: basic realm='a realm');
header(HTTP/1.0 402 Unauthorized);//dont understand
//what this line does
echo you didnt login yet\n; //understand it but want
//something else like a
hmmm
the question too is where do the variables get assigned and where is the
form or the query statements to the database for the info you need to
print out... maybe its something with that...
- Original Message -
From: Stitchin' [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday,
i want to say something like this on the results page:
?php
//connect to sql first(in my case mysql)
mysql_connect($host, $mysqluser, $mysqlpwd)||die(mysql_error());
mysql_select_db($dbname)||die(mysql_error());
//run query now...
$query=mysql_query(select * from [your table name
just make a php file with system calls in it to do mysqldump
how secure that is is a different question
- Original Message -
From: John Taylor-Johnston [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 10:43 PM
Subject: [PHP] mysqldump
Anyone do MySQLDump
just a fast question here.. and the lotic probably isnt to bright on my part
and i think i know the answer to this question too but just to make sure...
if you can include variables in an include file and use them outside that
file (in the file that includes that file that is) then can you do the
well...
$query=mysql_query(select * from TableName where
month(FieldNameForDate)=month(FieldOfDate)+1);
that should do it.. or at least it does on mine anyways...
- Original Message -
From: Petre Agenbag [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 4:07 AM
hi..
i looked in the manual about file uploads and basically know how it works
other than a little playing around with it but was wondering how you could
make a browse for file button that opens a box on the users computer so then
can look for the file rather than type it in.. or is this
worked with the button i have (and
my client should be very impressed since the button actually depresses when
you click it or hit enter on it)..
- Original Message -
From: - Edwin [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 1:08 AM
sorry.. im confused because i saw this message floating around the list
about 4 times last night about 12 hours ago or so and now i just get the
original? or is this just another repost again... im confused as to whats
going on with how messages are sent out
- Original Message -
hi
was just wondering if there is something with php that will let you create a
browser dialog box when someone pushes a submit button or something like
that...
tnx
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus
do lots better..
let me know]]
- Original Message -
From: - Edwin [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 8:43 PM
Subject: Re: [PHP] button and /button
Sunfire [EMAIL PROTECTED] wrote:
this is true i guess but he doesnt
body that can help?
sorry if this is the wrong kind of post for this list but need to vent out
to somewhere...
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: 'Sunfire' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:58 PM
Subject: RE: [PHP] button
hi..
i have a button on a web page that is supposted to go to another web page
when either clicked with a mouse or when someone presses enter on it.. :
button onclick=postprayer.htm onkeypress=postprayer.htm
post a prayer
/button
that is my basic code for the button... my problem is the fact that
tnx! it works now so now i know what i need to do with buttons that are self
created now...
- Original Message -
From: erich [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:11 AM
Subject: Re: [PHP] button and /button
i would try
input type=button
usually i would do something like:
table width=(number in pixels) ..
tr
td width=(# of colums in row devided by table width in bixels) ..
- Original Message -
From: Adriaan Nel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, February 23, 2003 10:26 AM
Subject: [PHP]
yes
include(filename.php);
- Original Message -
From: Rohin Gosling [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, February 23, 2003 2:59 PM
Subject: [PHP] Is there a way to include php source files in a php script
?
Is there a way to include a *.php source file from inside
yes
include(filename.php);
1. its in the php manual
2. you posted the same question twice already i think (unless 1 was a
original post and one was a reply)
sorry getting a little tired here its almost 1am here and still working for
the last 2 days straight with 0% sleep and 100% caffine..
Message -
From: - Edwin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:23 AM
Subject: Re: [PHP] button and /button
Hello,
Sunfire [EMAIL PROTECTED] wrote:
hi..
i have a button on a web page that is supposted to go to
another web page
when either clicked
hi
my client just told me that he wants his table borders shown on his web page
to be a darker blue than the default color of html web page tables.. does
anybody know how to set the color for the table border color?
would it be something like:
table bordercolor=x
or is it something
oh sorry i forgot in the last message too..
he wants 3 radio buttons on a form .. something to the affect of:
input type=radio name=general value=this is a general statement?this
is a general post
input type=radio name=urgent value=this is an urgent messagethis is
an urgent post
input type=radio
nothing to do with php.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:15 AM
To: Sunfire
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] button and /button
This has nothing to do
sorry.. does anybody know of any mailing list i can join for that then?
- Original Message -
From: Dennis Cole [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 1:26 AM
Subject: RE: [PHP] table border colors in html/xml
rant
=postprayer.htmclick here/a
to go back to the form to re-enter your post.
/body
/html
?php
}
//finnish script here..
?
- Original Message -
From: Dennis Cole [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 1:29 AM
Subject: RE: [PHP] radio buttons
better to use something like
mysql_connect(localhost, test1, test1)||die(mysql_error());
because you will make smaller code that way killing the script instantly
when connection is refused and you will still get the same message:
user access denied for '[EMAIL PROTECTED]' using password:(yes)
in
i am selecting company because the company i am writing this for wanted me to print
out on a web page all the company names that had gotten mail from the email system..
and i didnt know if i should do a different query for that or if i could leave it in 1
query...
so could i do this:
select
hi.. was just wondering when i use php xml and mysql (standard xml) it seems
that netscape 4.7 and below wont see the web page with results from a mysql
query on them... we dont know about ie5 or below yet but does anybody know
why this is or how to fix it?
the nature of the web pages is a table
hi
im making a mailing system for a company. i have to find all email addresses
in a table and send email to all of them. the problem comes in when more
than 1 company has the same email address (owned by same person). what i
have to do is if more than 1 company has the same email address only use
i have a field in a table called Posted and it is a timestamp type
im using mysql and my page is supposed to take the timestamp field and show
it on the screen in the form of month#/dayofmonth/year
like 02/18/2003 the problem im having is trying to get it to be formatted..
i tried mysql functions
tnx it worked just like i wanted it to...
- Original Message -
From: Barajas, Arturo [EMAIL PROTECTED]
To: 'Sunfire' [EMAIL PROTECTED]
Sent: Tuesday, February 18, 2003 7:59 PM
Subject: RE: [PHP] mysql select and date functions
Have you tried naming the fields?
$query=mysql_query
hi i have a select query i need to do on a field in my table.. the field is
called Flags and there is 1 char for every flag that is set for a certain
group..
the flags are F S L C G R now what i want to do is search for every instance
of Flags field that has any value except L and C in it and
hi..
this might be a little off topic but does anybody know how to change the
table height in xml? my partial code is below::
table border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;
border:none;mso-border-alt:three-d-engrave blue 6.0pt;mso-padding-alt:0in
0.5pt 0in 0.5pt'
try putting exit; at the end of your script will kill it dead in its tracks
- Original Message -
From: Francesco Leonetti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 10, 2003 6:34 AM
Subject: [PHP] a while loop that does't end with the script
Hi,
I'm a newcomer
hi..
was wondering about how you could run a script that automatically ran at
midnight every day and deleted records that matched a certain date stored in
a mysql table? any ideas how that supposed to work?..
i think the script has to be a chron task on linux but im not really sure
how to go
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 10, 2003 5:12 PM
Subject: Re: [PHP] automatically delete records from a table
Sunfire [EMAIL PROTECTED] wrote:
was wondering about how you could run a script that automatically ran at
midnight every day and deleted records
i got it tnx...
while(whatever){
//record code here
//and echo $counter
$counter++}
- Original Message -
From: Beauford.2002 [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Sent: Sunday, February 09, 2003 2:14 AM
Subject: Spam: Re: [PHP] incromenting $counter in a whloop
This is one
hi...
couldnt find anything on the list archive about this (maybe i missed it but
my internet explorer crashed before i could find it_)
how do you copy a database from a server over to another.. do all i need to
do is copy the tables over to the sql server after i make the db? or is it
more
hi..
was wondering how you would incroment $counter in a while loop.. i want to
print it out next to each record for a record counter on a web page...
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248
i have a combo box on a web page that gets all the companies names from a
mysql table and puts them in the combobox.. when someone picks a name and
hits an edit button it takes them to a form where all the values in the
table fields for that record are shown as default values for the form
fields.
my update statement updates all records if
someone retypes the same value in the form though
- Original Message -
From: Guru Geek [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 12:08 PM
Subject: Re: [PHP] update to table errors/strange things happen
Could I
i have a delete query:
mysql_query(delete from members where company='$delete');
it doesnt work should i change it to :
mysql_query(delete from members where company like '$delete');??
the first one worked in mysql client but it doesnt work in php script for
some reason...
also having problems
that submitting a
variable from 1 form to another that some wont get carried over?
- Original Message -
From: Van Andel, Robbert [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 5:05 PM
Subject: RE: [PHP] delete query doesnt work
What is the error
checked;
}
?
dont know why it doesnt work...any ideas?
- Original Message -
From: Van Andel, Robbert [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 5:30 PM
Subject: RE: [PHP] delete query doesnt work
I've never heard of a variable
ok i changed the endings to those to /option but still keep getting blank
variable in the end for $delete in the delete query
- Original Message -
From: Van Andel, Robbert [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 5:51 PM
Subject
string it gets lost...
- Original Message -
From: Van Andel, Robbert [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 6:14 PM
Subject: RE: [PHP] delete query doesnt work
Okay. Next step would be to check the select option values
hi..
i have a hidden variable and when its submitted to another script it has the
value of \\\... anybody know how to get the \ out of it?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release
hi...
my delete query :
mysql_query(delete from members where company like '$delete');
now works..this is how i fixed it...
in the form that submits the $delete var add this:
input type=hidden name=flag_delete value=$delete
now in query change $delete to $flag_delete... and poof it magically
you need to test for empty strings such as which variables have when you
submit an empty form ..
if(!empty(varname) !empty(varname2) !empty(varname 3)..){
//do whatever if they have something usefull in them
//this block of code will be ran if var_dumb() on all the
//vars tested is than
Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 06, 2003 12:25 AM
Subject: Re: Re: RE: [PHP] Variable Problem
On Thursday 06 February 2003 07:48, Sunfire wrote:
on any server i ever dealt with if i put:
input type=sent value=?php\$sent\?
in the edit box for the value
actually so does empty end up testing true on an empty var... thats because
empty thinks or string(0) is actually a string just blank... a trick to
do with empty is use !empty which will say if the string is at least 1 char
long other wish if it is less than 1 char long even though a string does
hi..
i have a combobox that has members from a mysql database loaded into it..
one of the choices is select a member to edit and has a value of . now
if a person selects select a member to edit, then an error message shows
up saying they need to select a member to edit and puts them back to the
hi..
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to test to
see if they were used in the form before displaying either the phone number
itself or just leaving it out of the display... what code would be good to
tnx will try that my other code looked something like that but it didnt
work.. probably had the (and ) in the wrong places... i set it up as the
whole statement as 1 if statement not 3 different ones..
- Original Message -
From: Erich Beyrent [EMAIL PROTECTED]
To: Sunfire [EMAIL
the form are empty
or not... and this isnt working very will...
any idea why this happens?
ps if i put or between if statements it gives me a parse error...
- Original Message -
From: Sunfire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 2:40 PM
Subject: Re: [PHP
empty doesnt work either... it still comes up as though something is in them
and excludes either nothing at all or includes everything...even the empty
vars..any reason for that ?
- Original Message -
From: 1LT John W. Holmes [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL
if you want to get variables into a form by value= do something like this:
?php
echo BLOCK
form action=php_self method=post
input type=var1 value=\var1\br
and so on
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 3:59
you can do:
echo BLOCK
//any valid html code here
input type=sent value=\sent\
BLOCK;
it is easier if you have a form or large amounts of code to echo/print to
the screen with vars and stuff to use the echo stuff its pretty
cluttered and its harder to use print or echo for every line of code you
Shiflett [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 5:44 PM
Subject: Spam: Re: RE: [PHP] Variable Problem
--- Sunfire [EMAIL PROTECTED] wrote:
you can do:
echo BLOCK
//any valid html code here
input type=sent value=\sent\
BLOCK
i tried to use empty and isset to check and see if variables were being used
in a form.. im not getting any kind of good answer from the server when i
try using empty and isset... it all works the same and that is cut out
anything regardless of if it was used or not...
any thing to help?
the
PROTECTED]
To: 'Sunfire' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 9:57 PM
Subject: RE: [PHP] empty and isset
They both work, you're just not using the correct logic or something.
Show your code again... your actual code that isn't working (so you say
yes tnx that did work now any blank variable i need tested in that set wont
show up on the list.. i have a few other bugs to work out with printing and
formatting but will take care of that a little later...
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: 'Sunfire' [EMAIL
hi..
how would you use an if..else statement to test a query in mysql to see if
it was successfull or not?
would it be something like:
$query=(query here...);
if($query){
statements if successfull??
}else{
statements if not true??
}
or would it be something else..
tnx
---
Outgoing mail is
hi..
posted a message about what the code was to test an update query to see if
it was successfull using mysql and i tested my code and for some reason even
if none of the fields were updated it still reports the success message...
heres the code i have:
$query=mysql_query(update members set
believe as long as the update was successful (no errors) it will say
'message if successful'...I think you are wanting to know if rows were
updated or not...not whether or not the query ran ok.
Eddie
-Original Message-
From: Sunfire [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04
hi..
i have an array (not written in code yet) but it is from a multiple select
listbox and i want to use the elements in the array in an insert query.. and
dont know how that works...
(i wont know how many elements there will be on the insert)..the array
elements will need to be put in 1 field
do this:
run your php query to get the value of the text box and then do this:
?php
//connect to db here
$query=//put your query here
while($foo=mysql_fetch_array($query)){
//if you use mysql that is...
echo input type=text name=YourVarName value=\$foo\;
}
?
- Original Message -
From:
?php
mysql_connect(hostname, mysqluser, mysqlpassword)||die(db error
msg...);
mysql_select_db(databaseName)||die(database error msg...);
$result=mysql_query(select * from table_name);
/*heres the trick*/
while($array=mysql_fetch_array($result)){
printf(| %s | %s | %s | %s | %s |br /, $array[id],
sorry already fixed my problems but the original question was what html/php
code did i need to do the stuff..all i needed was an example 3 or so line
code...i dont need anybody to write my code for me...examples are fine
enough to get me through my problems if i have any...
btw what is your rates
i have a listbox:
select name=users
?php
//connect to db and get query
mysql_connect(.);
mysql_select_db(...);
$query=mysql_query(select username from users);
/*finish the listbox*/
while($account=mysql_fetch_array($query)){
echo option value=$account[username]$account[username]br;
}
?
/select
how do you tell it to refuse file.inc with a .taxis file? the server i will
be running this on is a public server and they dont allow .taxis files i
dont think...i will have to check and see
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; 'Sunfire' [EMAIL
PROTECTED]
To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, February 02, 2003 4:55 PM
Subject: Re: [PHP] listbox problems
From: Sunfire [EMAIL PROTECTED]
Sent: Sunday, February 02, 2003 4:53 PM
Subject: [PHP] listbox problems
i have a listbox:
select name=users
?php
it isnt that hard to do.. if you can get student and supervisor to
successfully log into the web pages (even if you dont have anything to
display) then all you really need to do is this:
suppose that you had $user for username in the form and $password in the
form for password...
do this:
/*after
hi..
this is what i want to do but dont realy know how to do it...
i want to set up a form that will load values from a table and make them the
value of the edit box... then when people press an update button then all
of the stuff that changes from the record already in the table gets
changed...
i tried getting the values into vars using fetch_array/fetch_object and
fetch_row and tried to put them in variables but for some odd reason it
really doesnt work because when i try to use the vars in the value section
instead of printing in the edit box the content of the variable i usually
end
if i do this:
/*all the mysql login stuff here*/
$query=mysql_query(select * from members);
while($new=mysql_fetch_array($query)){
echo $new['company'];
/*so on through the field list*/
}
on output all i get is the title with a submit button..otherwise blank..
same thing with
be appreciated...tnx
- Original Message -
From: Philip Olson [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, February 01, 2003 6:48 PM
Subject: Re: [PHP] using input tags with php (IMPORTANT READ)
On Sat, 1 Feb 2003, Sunfire wrote
htmlspecialchars()
doesnt work.. all i get for output on the page is the rest of the script
printed on the screen after the value= part of the tag..is there any way to
fix it?
- Original Message -
From: Philip Olson [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL
hi..
i came across the same problem before and it was well lets say i probably
dont have any hair left (from pulling it out) hehe.. anyways you need to go
into the grant tables and look to see what is set up for users.. most likely
you dont have a root@localhost user because as far as i understand
ok sorry to repeat everything already said
- Original Message -
From: Adam Voigt
To: Sunfire
Cc: Gibbs, Liam - SXIA ; [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 1:00 PM
Subject: Re: [PHP] MySQL Madness
MySQL infact perfectly understands what localhost
1 - 100 of 101 matches
Mail list logo