Search found 79 matches
- Mon Jul 25, 2005 9:12 am
- Forum: PHP - Code
- Topic: executing process of php file
- Replies: 3
- Views: 186
executing process of php file
as I know (not sure), a php file is always re-executed from first line to last line after user presses a submit button - is this right? for example, I add following code in a php file: <?php if(isset($_POST['form_Submit'])) { //something } ?> //more html code here which includes a form with submit b...
- Mon Jul 25, 2005 4:30 am
- Forum: PHP - Code
- Topic: how to display a message box in php (newbie)?
- Replies: 2
- Views: 454
how to display a message box in php (newbie)?
hi all, could you show me php code to display a message box (similar to alert("..") function in html)? E.g. <?php if(isset($_POST['form_Submit'])) { alert('Is sent by submit button');//message box } ?> acturally, my purpose is for contacting to mysql, if the user doesn't exist, php will sh...
- Mon Jul 25, 2005 4:18 am
- Forum: PHP - Code
- Topic: a question about php forum
- Replies: 4
- Views: 197
- Sun Jul 24, 2005 8:31 am
- Forum: PHP - Code
- Topic: a question about php forum
- Replies: 4
- Views: 197
a question about php forum
hi all, I need to create a php forum for customers. I want to know if there are free packages (such as a software or similar) which can auto generate a php forum for us, so we do not need to spend time to create php code for the forum ourself? I think there must be some packages of this kind on the ...
- Sun Jul 24, 2005 7:24 am
- Forum: Databases
- Topic: a stupid question about backup and recover mysql database
- Replies: 2
- Views: 234
a stupid question about backup and recover mysql database
I test to backup my database - download to my PC as a file (host does this), i.e. main.gz. questions: 1. what does a gz file mean? is it just a compressed file? is it readable (undestood) by us? can I view TABLEs, FIELDs and data from the gz file? 2. how to recover my database from the main.gz file?...
- Sat Jul 23, 2005 11:59 am
- Forum: PHP - Code
- Topic: character Tab in php and C++
- Replies: 7
- Views: 700
- Sat Jul 23, 2005 11:39 am
- Forum: PHP - Code
- Topic: character Tab in php and C++
- Replies: 7
- Views: 700
- Sat Jul 23, 2005 11:24 am
- Forum: PHP - Code
- Topic: character Tab in php and C++
- Replies: 7
- Views: 700
character Tab in php and C++
I am wondering if such characters can be used in php, which can be used in C++:
characters:
Tab: \t
Line break: \n
etc.
I have to use <br> for \n (it works).
But what TAG or something are similar to \t in php?
\t is useful for displaying (echo or print) text nicer.
thanks
characters:
Tab: \t
Line break: \n
etc.
I have to use <br> for \n (it works).
But what TAG or something are similar to \t in php?
\t is useful for displaying (echo or print) text nicer.
thanks
- Sat Jul 23, 2005 11:15 am
- Forum: PHP - Code
- Topic: a stupid question about mysql database
- Replies: 7
- Views: 590
- Sat Jul 23, 2005 4:17 am
- Forum: PHP - Code
- Topic: a stupid question about mysql database
- Replies: 7
- Views: 590
here is error code (by $iphost:
Warning: mysql_connect(): Access denied for user: 'my.com@venus.addaction.net' (Using password: YES) in /home/my/public_html/php/php00/test00.php on line 10
Access denied for user: 'my.com@venus.addaction.net' (Using password: YES)
Warning: mysql_connect(): Access denied for user: 'my.com@venus.addaction.net' (Using password: YES) in /home/my/public_html/php/php00/test00.php on line 10
Access denied for user: 'my.com@venus.addaction.net' (Using password: YES)
- Sat Jul 23, 2005 4:08 am
- Forum: PHP - Code
- Topic: a stupid question about mysql database (2)
- Replies: 2
- Views: 281
a stupid question about mysql database (2)
assume a table have data.
will the table loss data if i drop or add a field to the table (except field dropped)?
E.g. Fied UserInfo contains many user names (data), if I add or drop another field (i.e. place), does data of user names in field UserInfo loss?
Thanks
will the table loss data if i drop or add a field to the table (except field dropped)?
E.g. Fied UserInfo contains many user names (data), if I add or drop another field (i.e. place), does data of user names in field UserInfo loss?
Thanks
- Sat Jul 23, 2005 3:57 am
- Forum: PHP - Code
- Topic: a stupid question about mysql database
- Replies: 7
- Views: 590
a stupid question about mysql database
hi all, assume my web-site is http://www.my.com ip address is 33.22.111.444 I created a database my_main and add an user my_user0 with password my_pswd0 to the database. mysql_connect() function failed in php code bellow, could u tell me why? Thanks php code ------------------------------------ $iph...
- Thu Apr 14, 2005 4:19 am
- Forum: Javascript
- Topic: what's wrong with the piece of html code?
- Replies: 7
- Views: 1394
- Thu Apr 14, 2005 3:46 am
- Forum: Javascript
- Topic: what's wrong with the piece of html code?
- Replies: 7
- Views: 1394
- Wed Apr 13, 2005 11:47 pm
- Forum: Javascript
- Topic: what's wrong with the piece of html code?
- Replies: 7
- Views: 1394
what's wrong with the piece of html code?
<html> <head> <script type="e;text/javascript"e;> var mySel; function getMultiple(ob) { if (ob.selectedIndex != -1) { mySel=ob.optionsїob.selectedIndex].value; } } function DispPage() { confirm(mySel); location.href=mySel.toString() } </script> </head> <body> <form name='f...