[PHP] explode? (table field to a variable of same name)
How can I assign automatically all fields of a database to a variable of the same name? Instead of having to manually do $user_id=$row["user_id"]; etc Then how could I know the number of fields in the table so I can do a loop to print them all in html? In advance, thanks for your help. Alfredo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: automatic forward URL to other URL
In the first domain (www.mydomain.com) create a page called index.php with the code: regards, Alfredo Manu Verhaegen wrote: > I want automatic forward URL (www.mydomain.com) to (www.mydomain2.com) > > If i type in my brower www.mydomain.com the i will see www.mydomain2.com > > Greetings, > Manu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] block and
Hi, I have a routine to administrate a cybercafe with MySQL, PHP over Win 2K. Does anyone knows how could I programm a routine to request ID and Password wich disables the , and ? Thanks in advance, Alfredo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Extract all fields of a table to vars of same name
Someone came with a very clever solution to simplify the extraction of all fields when doing aselect * from table it's a command that passes all values from the fields on the table to variables of the same name than the field on that table. No need to program it manually, creates all variables with same names as the table fields. Could someone tell me how to do this? Alfredo -- 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: small window scripts in Javascript?
To close the window when the user clicks on the hiperlink type in your HTML tag for Body This will close the present window when the user clicks on the hiperlink. When you close the present window, you need to open a new window (or an existing one) where you will display the new page. Alfredo Wee Chua wrote: > 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. > > > > > > 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] Extract all fields of a table to vars of same name
Someone came with a very clever solution to simplify the extraction of all fields when doing aselect * from table it's a command that passes all values from the fields on the table to variables of the same name than the field on that table. No need to program it manually, creates all variables with same names as the table fields. Could someone tell me how to do this? Alfredo -- 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: I'm a n00b scum...
I strongly reccomend the book called PHP Essentials by Julie C Meloni It's written very simple and at the same time you learn quite good level of PHP Alfredo Markmi6 wrote: > And I've just read the tutorial on webmonkey.com on php and now I'm hooked, > where can I get more stuff like that on webmonkey? Or would I be better off > buying a book on php and if so which do you recommend? > > -- > "It's not the job I enjoy, it's the people I run into" - Bus Driver. > - > www.gamerseurope.com - We redesign and the world stops, see the revolution > this February. > - > ICQ: 118713900 > MSN: [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]