[PHP] Php Enum Field
Hi all, How can I get the preset values for Enum field inside the table. For example, table A has a field called AccessRight, the enum fields are Read,Add,Delete. How can I write the query to get these values out from AccessRight field? Thanks, Wee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Php Enum Field
Sorry, my question was how can I retrieve the preset Enum values from AccessRight field property? Thanks. -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 2:51 PM To: 'Wee Chua'; PHP (E-mail) Subject: RE: [PHP] Php Enum Field I must not understand your question. As you've asked it, the answer is: SELECT AccessRight FROM tableA; -Original Message- From: Wee Chua [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 1:27 PM To: PHP (E-mail) Subject: [PHP] Php Enum Field Hi all, How can I get the preset values for Enum field inside the table. For example, table A has a field called AccessRight, the enum fields are Read,Add,Delete. How can I write the query to get these values out from AccessRight field? Thanks, Wee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] help with PHP global array
Hi all, How can I declare a global array? Can I do this: $global myArray[] would I find out it is an array when I use it in other places? Thanks, Wee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] help with PHP global array
Hi all, I have tried: global $myArray[] and it gives me an error 'the array expects semi-colon or comma'. Any helps would be appreciated! Thanks, Wee -Original Message- From: Bjorn Abt [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 10:57 AM To: '[EMAIL PROTECTED]' Subject: AW: [PHP] help with PHP global array I would try: global $myArray[] Greetings Björn -Ursprüngliche Nachricht- Von: Wee Chua [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Gesendet: Donnerstag, 7. Februar 2002 16:35 An: PHP (E-mail) Betreff: [PHP] help with PHP global array Hi all, How can I declare a global array? Can I do this: $global myArray[] would I find out it is an array when I use it in other places? Thanks, Wee -- PHP General Mailing List ( http://www.php.net/ http://www.php.net/ ) To unsubscribe, visit: http://www.php.net/unsub.php http://www.php.net/unsub.php
[PHP] help on PHP from
Hi all, How can I get the whole string after submitting with Form? I don't see any variables and valuables in the address bar of the browser unless I manually create the link with ? and in form action column. Please help and explain. thanks, Wee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] mysql_insert_id?
Hi, Is it possible that I would get the wrong ID (Not the ID I just inserted in Auto_Increment field) by using mysql_insert_id function if someone is also inserting record at the same time? How does mysql_insert_id work accurately? Thanks, Wee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Class in PHP
Hi all, How many extension of subclass can PHP have? Can I extend subclass to more different subclass? Thanks, Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] small window scripts in Javascript?
Hi all, How could i get rid of the white space and show the picture exactly same size as the window, so it would be perfect fit. What else do I miss in the codes to make the perfect fit size? Also, how can I have the small window close automatically after user clicking on the picture's hyperlink? Any helps will be greatly appreciated. Thanks. Script !-- function displayWindow(url, width, height) { window.open(url,displayWindow,'width=' + width + ',height=' + height +',resizable=0,scrollbars=no,menubar=no,status=no,topmargin=0,leftmargin=0') ; self.close(); } //-- /script a href=javascript:displayWindow('../JPeg/big%20jpeg/Untitled-1.jpg',750,530) regards, Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] RE: Php connection with mysql?
I understand what you are saying. Let's go further for the different tables privilege, if I have Select privilege on table A, and Delete privilege on table B of Database mydatabase, how can the built-in privilege tables to check on this problem since the mysql_connect doesn't include the client host IP? -Original Message- From: Ryan Fox [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 4:44 PM To: Wee Chua; MySQL (E-mail) Subject: Re: Php connection with mysql? In your situation, MySQL sees the client to be the web server, as it is the box that connects to the database and executes queries. If you need finer granualarity on the access controls at the MySQL level, you can pass different usernames/passwords to MySQL through the php mysql_connect() function dependant on what user is authenticated in to your web server. If you need to restrict clients on a per-IP basis, you can do this at the php level by checking the $REMOTE_ADDR variable and acting accordingly. Hope this helps, Ryan Fox - Original Message - From: Wee Chua [EMAIL PROTECTED] I have a question regarding the client IP address between PHP and MySql. The built-in mysql database have different privilege tables. When I log on to mysql through the internet browser, does mysql know where I am connecting from if I use mysq_connect(.) function? From what I see, this function doesn't tell where I am connecting from, if this is true, those privilege tables are not helping to check on the privileges if the client is from browser. Does it have any other ways to tell mysql server where the client is connection from besides default localhost? Thank you, Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Php Array
Hi all, How can I send the values inside the array into a function for calculation? Thank you, Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] codes in php for going back to previous page
Hi all, I know how to forward a page with PHP, but what if the page I want to forward is the previous page or last page. In javascript, the code is like javascript:historygo(-1). The reason why I want to go back to previous page is because I don't want to lose any information on previous page. Can anyone help? Thank you. Calvin Chua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Php codes for going back to last page
Hi all, I know how to forward a page with PHP, but what if the page I want to forward is the previous page or last page. In javascript, the code is like javascript:historygo(-1). The reason why I want to go back to previous page is because I don't want to lose any information on previous page. Can anyone help? Thank you. Calvin Chua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Codes in PHP
Hi all, I know how to forward a page with PHP, but what if the page I want to forward is the previous page or last page. In javascript, the code is like javascript:historygo(-1). The reason why I want to go back to previous page is because I don't want to lose any information on previous page. Can anyone help? Thank you. Calvin Chua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Php page
Hi all, what is the best software to make banner ads? Are there any free or evaluation trail available? I want to make the banner ads on my PHP page. Thank you. Calvin Chua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Decimal to Ascii
Hi all, Can i convert decimal 23 to ascii in PHP? Thanks. Calvin Chua Systems Analyst InterClean Equipment, Inc. 734-975-2967 www.InterClean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Problem?
Hi all, I have a question that can I do my dynamic web application in one page without any other hyperlink page if I have all the classes needed to run the dynamic web application? Are there any Pros and Cons for running application on one page? The application is mainly used for ERP. Thank you. Calvin Chua Systems Analyst InterClean Equipment, Inc. 734-975-2967 www.InterClean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Close Window script
Hi all, Can anyone tell me how to write a script to close the current opened window with hyperlink? Thank you. Calvin Chua Systems Analyst InterClean Equipment, Inc. 734-975-2967 www.InterClean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Search Engines?
Hi everyone, Could any one tell me what is the search engine you always use? Thank. Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Help?
Hi all, I am sorry for asking this question but I just need some opinions or answers from you all. The question is "What are the limitations of software testing?" Thanks for any helps in advance. Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Hyperlink?
Hi all, Could anyone tell me how to show a hyperlink without underline, just regular text which contains link. Thanks. regards Calvin Chua Systems Analyst InterClean Equipment, Inc. 734-975-2967 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Anyone knows?
Hi everyone, Does anyone have any ideas how does Windows Explorer work? I am trying to create same functionality for Event Type in my Event table, I need to have same kind of expand function like Explorer. Could anyone tell me the structure, ideas or methods to create such expand function. Thanks! Calvin Chua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] space increment
Hi all, I would like to have codes which will could automatically generate as many as sequence number variables based on how many rows return from the query, such as if I have 10 rows from the query result, I would have $var1,$var2,$var3,$var4and so on, but the value of $var1 would equal to 3 spaces, and value of $var2 would equal to 6 spaces, then $var3 would equal to 9 spaces and so on. Could anyone tell me how could I write codes for this purpose. Thank you very much in advance! Calvin Chua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]