[PHP] Reload a page when a user press the back button
Hi all, I don't know if this is a PHP related question, but here it is: I'm developing a PHP / MySQL site, and, in one page the admin of the site has the power to add categories to the database in a field. To check if the entry is already set, there is a control with all the entries in the database. So, when the admin type the name of the categorie and press the submit button, another page load and tell if the insert operation was success or not. Then if the entry was add and press the back link ( [ back ] ) the option in the is not show after the user press the reload button. Is there a way that the page reaload automatically the data from the database without the user pressing the reload button? Thanks in advance. -- Mauricio Téllez Jiménez Seguimiento Técnico EDUMEXICO [EMAIL PROTECTED] [EMAIL PROTECTED] Zamora No. 25, Col. Centro C.P. 91000, Xalapa, Ver. Tel. 52(28)17-86-87, 17-73-80 Fax. 52(28)18-64-13 -- 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]
Re: [PHP] Sorry... but a good PHP editor for Linux/Unix
I think EMACS is the best choice for any language you like. Just install de php suport for EMACS. Bye On Tue, Jul 31, 2001 at 11:07:14PM -0300, Augusto Cesar Castoldi wrote: > Sorry about talking about this subject, but a really wanna know if any one > nows a good editor for linux/unix. > > Sometimes I need to work by SSH and I have to use the program pico. > > I can't use vi, to use it, i'll need to see the manual!! > > thanks, > > Augusto > > > > -- > 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] -- Mauricio Téllez Jiménez Seguimiento Técnico EDUMEXICO [EMAIL PROTECTED] [EMAIL PROTECTED] Zamora No. 25, Col Centro C.P. 91000, Xalapa, Ver. Tel. 52(28)17-86-87, 17-73-80 Fax. 52(28)18-64-13 -- 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]
Re: [PHP] a goog "whatever you want" editor
What about Emacs? I think this is the most powerful, configurable and extensible. Not only good with PHP, but also pretty good for any programming language (C, C++, Java, Ada, Assembly, HTML, etc). You can compile your programs from Emacs, and even debug them. Also have a lot of add-on like calculator, email client, news reader, calendar, ftp mode, etc. In my opinion, the best choice for a serious programmer. On Thu, Jul 19, 2001 at 12:30:24PM +0200, Aniceto Lopez wrote: > My opinion: "UltraEdit" https://www.ultraedit.com > > cheap, powerfull, totally configurable, ftp included, > http://www.ultraedit.com/products/features.html > free tag list (any code), word files, macros > > I use it for html, xml, xsl, wml, php, javascript... > > > > Ani Lopez > http://www.lamundial.net > visit us, download, spread our music -- 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]
Re: [PHP] Secure Access to Remote MySQL DB
I think that SSL is the more transparent choice. Cheers. On Wed, Jul 18, 2001 at 11:38:19AM -0600, Matthew Aznoe wrote: > Greetings, > > I am developing an application that will access a MySQL database remotely > from another server. I would like to be able to use a standard database > connection using the 3306 port if possible for ease of development, but I > certainly do not want to be sending unencrypted data between my application > and the database. > > Is there a way to encrypt the database transactions between PHP and a remote > MySQL database? > > Matt > > -- > 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 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] Loading values from a tag
Hi all, I want to print all the text stored in a tag. For example: Hello World Again!!! This is the final select, but is created dinamically with javascript. So when the sumbit button is pressed, I want that my php script output the folowing: The number of options is: X(3 in that example) The options was: value=1, text=Hello value=2, text=World value=3, text=Again!!! and so on. Thanks for your help. -- 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]
Re: [PHP] new lines in text fields
Hi, I don't know what is exactly what you want to do, but I have a page with a tag, and a mySQL database with a TEXT field, that way I can use newline breaks. Bye. On Fri, Jul 06, 2001 at 04:06:58PM +0100, Mat Marlow wrote: > Hi all, > I am in desperate need for a solution to HTML text fields not storing new > lines. I'm storing news articles in a database but all the text just ends up > in a big block because it ignores line breaks. Is thre a way around this > without having to upload text files? > > Thanks, > > Mat > > > > -- > 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 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]
Re: [PHP] Suggest Table Structure
Hi, you have to break your table in pieces and create tables for items that occur more than once. For example: CREATE TABLE articles ( ID int(6) NOT NULL auto_increment, id_category UNSIGNED INT REFERENCES category, HEADING varchar(30) NOT NULL DEFAULT '' , BODY longblob , ...) CREATE TABLE pictures ( ID int(6) NOT NULL auto_increment, PICTURE longblob , id_article UNSIGNED INT REFERENCES articles) CREATE TABLE category ( ID int(6) NOT NULL auto_increment, category varchar(30)) So, if you want to list all the pictures of the article 'Linux Rules!' you have to write a query like: SELECT heading, picture FROM articles, pictures WHERE pictures.id_article = articles.id AND heading='Linux Rules!' PS: A create the table category to illustrate how to put things in order with some normal forms. On Thu, Jul 05, 2001 at 02:31:55PM +0530, kachaloo wrote: > Hi guys, > I am making a table which will store articles for a site > and the feilds are : > > ID int(6) NOT NULL auto_increment, > CATEORY varchar(10) NOT NULL DEFAULT 'EVENTS' , > HEADING varchar(30) NOT NULL DEFAULT '' , > BODY longblob , > PICTURE longblob , > KEYWORD varchar(30) NOT NULL DEFAULT '' , > FILENAME varchar(50) , > FILESIZE varchar(50) , > FILETYPE varchar(50) , > PRIMARY KEY (ID), > UNIQUE ID (ID) > > > But now I noticed some of the articles will have more than one > picture... so how do I structure my talbe ? > > Thanks in advance, > Vishal > > -- > 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 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]