Re: [PHP] Great Opportunity for all group members!!!

2003-04-06 Thread sunfire
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]>

Re: [PHP] Great Opportunity for all group members!!!

2003-04-06 Thread sunfire
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:4

[PHP] headers and apache

2003-04-04 Thread Sunfire
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:## html for error web page here... #end# now in apache httpd.conf file i was told to do this: ErrorDocument 401 /errors/unauthorized.ph

Re: [PHP] crontab

2003-03-04 Thread Sunfire
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]> Sen

Re: [PHP] maguma problems with php 4.3 and apache

2003-03-04 Thread Sunfire
review 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]> Sen

[PHP] Re: and

2003-03-04 Thread Sunfire
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: and This looks like a great example to add to weberdev. would you care to spend 3 minu

Re: [PHP] question about smarty

2003-03-04 Thread Sunfire
ROTECTED]> To: <[EMAIL 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 &g

[PHP] maguma problems with php 4.3 and apache

2003-03-04 Thread Sunfire
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

Re: [PHP] question about smarty

2003-03-04 Thread Sunfire
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

2003-03-04 Thread 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 (http://www

Re: [PHP] query strings

2003-03-04 Thread Sunfire
nd unencode i think. > search the php site for them. > > > >From: "Sunfire" <[EMAIL PROTECTED]> > >To: "Jason Paschal" <[EMAIL PROTECTED]> > >Subject: Re: [PHP] query strings > >Date: Mon, 3 Mar 2003 18:32:32 -0500 > > > >

[PHP] query strings(still broken)

2003-03-03 Thread Sunfire
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 Free.

[PHP] query strings

2003-03-03 Thread Sunfire
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 content

[PHP] changing colors on buttons

2003-03-03 Thread Sunfire
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: so is there a way to change text color and background color for that? or is it better to use and do it that way... my client wants light blue buttons with dark bl

[PHP] mysql query questions

2003-03-02 Thread Sunfire
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 havi

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
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: [PH

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
- 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,

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
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

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
phone number.. i found i can do: 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 dependi

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
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

[PHP] php and html differences

2003-03-02 Thread Sunfire
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 p

[PHP] authentication question...

2003-03-01 Thread Sunfire
hi basic question about www-authenticate header...(least i hop its simple) i have the code: http://www.grisoft.com). Version: 6.0.458 / Virus Database: 257 - Release Date: 2/24/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] authentication headers....

2003-03-01 Thread Sunfire
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... header("HTTP

[PHP] Re: Very basic If statement still not working VERIFIED VARIABLES

2003-02-28 Thread Sunfire
i want to say something like this on the results page: now try putting your code for the values here the results just put the the variables here... in your list..dont use the {} thing because it might mess up the parser on things and you might not get what you wanted.. so start your list an

[PHP] Re: Very basic If statement still not working VERIFIED VARIABLES

2003-02-28 Thread Sunfire
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: Frid

[PHP] classes and functions in include files

2003-02-27 Thread Sunfire
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 s

Re: [PHP] mysqldump

2003-02-27 Thread Sunfire
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 MySQLD

[PHP] file upload and a browse for file box

2003-02-25 Thread Sunfire
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 something

Re: [PHP] reminder mail when date is within a month of today.

2003-02-25 Thread Sunfire
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:

Re: [PHP] and

2003-02-24 Thread Sunfire
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

Re: [PHP] and

2003-02-24 Thread Sunfire
$30/hour just sounds good but i heard i could 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] browser dialog boxes

2003-02-24 Thread Sunfire
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 D

Re: [PHP] button not opening

2003-02-24 Thread Sunfire
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 - From:

Re: [PHP] and

2003-02-24 Thread Sunfire
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 PR

Re: [PHP] Re: Mysql DB connect failure

2003-02-23 Thread Sunfire
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)

Re: [PHP] radio buttons

2003-02-23 Thread Sunfire
submission there was an error in your submitted form: you didnt choose a message priority. click here to go back to the form to re-enter your post. - Original Message - From: "Dennis Cole" <[EMAIL PROTECTED]> To: "Sunfire" <[EMAIL PROTECTED]>; <[EMAIL PRO

Re: [PHP] table border colors in html/xml

2003-02-23 Thread Sunfire
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:

Re: [PHP] and

2003-02-23 Thread Sunfire
ocation("newpage.php") and this has > 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

[PHP] radio buttons

2003-02-23 Thread Sunfire
oh sorry i forgot in the last message too.. he wants 3 radio buttons on a form .. something to the affect of: this is a general post this is an urgent post this is a message i need to post because it bothers me would this be the right setup for radio buttons and if so what is the best way to tell

[PHP] table border colors in html/xml

2003-02-23 Thread Sunfire
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: http://www.grisoft.com). Version: 6.0.443 / Virus Da

Re: [PHP] and

2003-02-23 Thread Sunfire
Message - From: "- Edwin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 12:23 AM Subject: Re: [PHP] and > Hello, > > "Sunfire" <[EMAIL PROTECTED]> wrote: > > > hi.. > > > > i have a button on a web

Re: [PHP] Is it possible to "Include" a php source file ?

2003-02-23 Thread Sunfire
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.. (sor

Re: [PHP] Is there a way to "include" php source files in a php script ?

2003-02-23 Thread Sunfire
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 i

Re: [PHP] table width problems

2003-02-23 Thread Sunfire
usually i would do something like: To: <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 10:26 AM Subject: [PHP] table width problems > Hi, > > I've got a table that gets it's contents from a database, the problem is > that even though I specify the width of the table, it is still wider tha

Re: [PHP] and

2003-02-23 Thread Sunfire
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]

[PHP] and

2003-02-23 Thread Sunfire
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.. : post a prayer that is my basic code for the button... my problem is the fact that when you click the button or hit enter on it all it does is re

Re: [PHP] excluding same field values in mysql

2003-02-20 Thread Sunfire
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 com

[PHP] excluding same field values in mysql

2003-02-19 Thread Sunfire
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

[PHP] php, xml and mysql with netscape and ie

2003-02-19 Thread Sunfire
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 b

Re: [PHP] mysql select and date functions

2003-02-18 Thread Sunfire
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 > Ha

[PHP] mysql select and date functions

2003-02-18 Thread Sunfire
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 l

[PHP] select query question

2003-02-17 Thread Sunfire
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 selec

[PHP] changing table column height in xml

2003-02-15 Thread Sunfire
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:: --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/

Re: [PHP] automatically delete records from a table

2003-02-10 Thread Sunfire
Werby" <[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 automati

[PHP] automatically delete records from a table

2003-02-10 Thread Sunfire
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 about

Re: [PHP] a while loop that does't end with the script

2003-02-10 Thread Sunfire
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 newco

Re: Re: [PHP] incromenting $counter in a whloop

2003-02-09 Thread Sunfire
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] i

[PHP] incromenting $counter in a whloop

2003-02-08 Thread Sunfire
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 -

[PHP] how to move database from one server to another

2003-02-08 Thread Sunfire
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 invol

[PHP] delete query doesnt work (fixed)

2003-02-07 Thread Sunfire
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: now in query change $delete to $flag_delete... and poof it magically works still need to debug the edit system since a

[PHP] strip slashes from variable content

2003-02-07 Thread Sunfire
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 Date

Re: [PHP] delete query doesnt work

2003-02-07 Thread Sunfire
the checkbox to the query 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 w

Re: [PHP] delete query doesnt work

2003-02-07 Thread Sunfire
ok i changed the endings to those to 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]> S

Re: [PHP] delete query doesnt work

2003-02-07 Thread Sunfire
want to delete the member below? if you want to delete cancel //now the code to actually use $delete in a query run: dont know why it doesnt work...any ideas? - Original Message - From: "Van Andel, Robbert" <[EMAIL PROTECTED]> To: "Sunfire" <[EMAIL PROTECTE

Re: [PHP] delete query doesnt work

2003-02-07 Thread Sunfire
is it possible 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:0

[PHP] delete query doesnt work

2003-02-07 Thread Sunfire
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 proble

Re: [PHP] update to table errors/strange things happen

2003-02-07 Thread Sunfire
re out why 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]

[PHP] update to table errors/strange things happen

2003-02-07 Thread Sunfire
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. m

[PHP] if(!empty()) statement

2003-02-06 Thread Sunfire
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 t

Re: [PHP] empty and isset

2003-02-06 Thread Sunfire
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

Re: Re: RE: [PHP] Variable Problem

2003-02-06 Thread Sunfire
t;[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: > > > > > in the edit box for the value i always always end up wi

Re: [PHP] empty and isset

2003-02-06 Thread Sunfire
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 >

Re: [PHP] empty and isset

2003-02-05 Thread Sunfire
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]&g

Re: [PHP] empty and isset

2003-02-05 Thread Sunfire
ions{ //print the vars in the list } - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "'Sunfire'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 05, 2003 9:57 PM Subject: RE: [PHP] empty and isset

[PHP] empty and isset

2003-02-05 Thread Sunfire
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 docs

Re: Re: RE: [PHP] Variable Problem

2003-02-05 Thread Sunfire
on any server i ever dealt with if i put: > in the edit box for the value i always always end up with To: "Sunfire" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 05, 2003 5:44 PM Subject: Spam: Re: RE: [PHP] Variable Problem > --- Sunfire <[E

Re: RE: [PHP] Variable Problem

2003-02-05 Thread Sunfire
you can do: echo << 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 need to echo...specially if there are 300 lines of code a

Re: Re: [PHP] Variable Problem

2003-02-05 Thread Sunfire
if you want to get variables into a form by value= do something like this: and so on - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 05, 2003 3:59 PM Subject: Spam: Re: [PHP] Variable Problem > On Thursday 06 February 2

Re: Re: [PHP] empty variables from a form

2003-02-05 Thread Sunfire
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: "Sunfi

Re: [PHP] empty variables from a form

2003-02-05 Thread Sunfire
n from 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:

Re: [PHP] empty variables from a form

2003-02-05 Thread Sunfire
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: &

[PHP] empty variables from a form

2003-02-05 Thread Sunfire
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 te

Re: [PHP] testing a query for success--code doesnt work

2003-02-04 Thread Sunfire
cess--code doesnt work > I 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--

[PHP] testing a query for success--code doesnt work

2003-02-04 Thread Sunfire
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 comp

[PHP] testing if a query was successful

2003-02-04 Thread Sunfire
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 cert

Re: [PHP] Html forms

2003-02-03 Thread Sunfire
do this: run your php query to get the value of the text box and then do this: "; } ?> - Original Message - From: "Todd Barr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 9:59 AM Subject: [PHP] Html forms I am having difficulty putting results into an form

[PHP] array of unknown elements and insert query

2003-02-03 Thread Sunfire
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 on

Re: [PHP] listbox problems

2003-02-02 Thread Sunfire
hi.. listbox prob fixed... i had echo ""; in the first file it should have been: echo ""; and in second file i had: echo 'account[username]'; should have been : echo "$account[username].."; - Original Message - From: "Matt" &

Re: [PHP] including files...

2003-02-02 Thread Sunfire
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 PRO

[PHP] listbox problems

2003-02-02 Thread Sunfire
i have a listbox: $account[username]"; } ?> got it to fill listbox with usernames.. now my question is how do you use the $users variable in the php script that deals with the listbox? iat this point all i wanted to do was print the user name that was selected in the listbox but after i get how

[PHP] including files...

2003-02-02 Thread Sunfire
hi was just wondering if there was a way to have a php file with all constant variables like db mysqluser and password and a few other things defined in a file of its own and then be able to use the variables in it for the project it was built for? the last i knew it could be done and all i needed

Re: [PHP] using tags with php

2003-02-02 Thread Sunfire
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

Re: [PHP] help with script!!!

2003-02-02 Thread Sunfire
?", $array[id], $array[username], $array[password], $array[status], $array[notes]); } and make sure that your array indexes are right they are case sensitive in mysql...so array[id] is different than array[Id] or array[ID]... - Original Message - From: "Karl James" <[EMAIL PROTECTED]> To:

Re: [PHP] using tags with php

2003-02-01 Thread Sunfire
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]>

Re: [PHP] using tags with php (IMPORTANT READ)

2003-02-01 Thread Sunfire
ppreciated...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 tags with php (IMPORTA

Re: [PHP] using tags with php

2003-02-01 Thread Sunfire
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 fetch_object()..

Re: [PHP] using tags with php

2003-02-01 Thread Sunfire
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 up

[PHP] using tags with php

2003-02-01 Thread Sunfire
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..

Re: [PHP] Calling other php scripts from inside a php script.

2003-02-01 Thread Sunfire
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: /*aft

Re: [PHP] MySQL Madness

2003-01-29 Thread Sunfire
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 is

  1   2   >