[PHP-DB] login

2002-03-10 Thread its me
there is a page that when user go to need to be looged in,so it automaticaly go back with him to loggin page but after login i want him to go back to the page he was in.how? using history()? and how. thanks guys Rehab M.Shouman

[PHP-DB] date problem

2002-03-13 Thread its me
i have an input field in a form that accept date called $date and in databse i made it of type $date so its defualt is -00-00 the problem is when i say: if($date!="-00-00") {do something} he doesn't understand $date!="-00-00" Rehab M.Shouman -

[PHP-DB] menues problem

2002-03-13 Thread its me
i have 3 drop down menues the first 2 are statics and third i want it to retrive from databse can i do this with javascript and php or i have to reload page 3 times??? Rehab M.Shouman --

[PHP-DB] need help guys

2002-03-14 Thread its me
Rehab M.Shouman - Express yourself with a super cool email address from BigMailBox.com. Hundreds of ch

[PHP-DB] need help guys

2002-03-14 Thread its me
i have this Antiques & Arts then i pass this to next page:

[PHP-DB] increase date()

2002-03-16 Thread its me
i have: $nowdate=date("Y-m-d"); and i want to increase it by 6 months,how can i do that?? Rehab M.Shouman ---

[PHP-DB] sql problem

2002-03-17 Thread its me
i want an sql statment that select from table where prefer has the word auction or cash i tried: $sql="select * from products where prefer like '%cash%' "; and it worked biut i tried: $sql="select * from products where prefer like '%cash%' or prefer like '%auction%' "; but didn't work !!!

[PHP-DB] login problem wasn't solved

2002-03-18 Thread its me
i have sell.php page which requires loggin so i put in it: http://$HTTP_HOST/auction/login.php";); exit(); } ?> then in login.php i have; $sql = "SELECT * FROM registration WHERE username = '$username' and password='$password'"; $result = mysql_query($sql,$conn); if(@mysql_num_rows(

[PHP-DB] insert into javascript php

2002-03-22 Thread its me
c=document.forms[0].category.options[document.forms[0].category.selectedIndex].text but the php doesn't understand this c variable Rehab M.Shouman ---

[PHP-DB] urgent guys

2002-03-22 Thread its me
i know it has nothing to do with php but i'm stuck:) i have this url: http://localhost/auction/seller/additems.php?category=Books&subcategory=Fiction and in javascript when i say for example alert(category) it gives me undefineddoesn't javascript see variables passed with the url??? Rehab

[PHP-DB] newsletter

2002-04-15 Thread its me
hi guys, i wanna make a news letter as follows: i sell items within certain categories,so whenever a buyer is registered he choose some categories to contribute to my newsletter with: whenever a new item is added within this category i send him an email with that. i'm storing the mails in databa

[PHP-DB] newsletter

2002-04-17 Thread its me
hi guys, i wanna make a news letter as follows: i sell items within certain categories,so whenever a buyer is registered he choose some categories to contribute to my newsletter with: whenever a new item is added within this category i send him an email with that. i'm storing the mails in da

[PHP-DB] selected problem

2002-04-26 Thread its me
i have the file: edit_profile.php in it i have a form field like this: Choose City 10-Ramadan 15 May 6-October Abou Redes Abou-Zabal Al Arish Al Mahala Al Tour Al-Natroun Alexandria Asuit Aswan Bader Bani-Sweif Belbis Berkeit sabb Cairo Dahab Damanhour Disouk Dumiat Ein Soukhna El

[PHP-DB] Date problem

2002-05-12 Thread its me
i get $postdate from my mysql database,the problem is that i want to increase that date by 6 months?? its stored in mysql as date field

[PHP-DB] template problem!!!

2002-07-05 Thread its me
i have asimple problem: can i put php code in the site template??-i'm using dreamweaver. and if yes will i save it as php or as .dwt?? thanks guys Rehab M.Shouman

[PHP-DB] Urent please

2002-07-07 Thread its me
maybe this is more a javescripy problem...but its related to my php code: how can i open a new window with javacript and pass to it php variables?? thanks guys alot. Rehab M.Shouman

[PHP-DB] putting MySql database on server

2001-09-10 Thread its me
what do i need to change in my MySql databse when i upload it to server to work correctly -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

[PHP-DB] Are u using phpmyadmin to create your database?

2001-09-10 Thread its me
Are u using phpmyadmin to create your database? or u do it from command prompt ,and do i have a databse driver so my database works when i upload it to server? -- PHP Da

[PHP-DB] how to enter cgi-bin folder?

2001-09-10 Thread its me
i want to access the file: test.php and its located in cgi-bin folder. and my form file is :form.html and its in htdocs folder. how can i access test.php? i tried: method=" ../cgi-bin/test.php"

[PHP-DB] does MySql needs driver

2001-09-10 Thread its me
i didn't use a driver just inserted data directly throw phpmyadmin. do i need a driver?if yes from where can i get it? -- PHP Database Mailing List (http://www.php.net/) T

[PHP-DB] Grant statement

2001-09-10 Thread its me
do i need to write thr Grant statement to allow users to a have access to database(mysql)? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

[PHP-DB] access my cgi-bin

2001-09-11 Thread its me
here is my folders tree: (i'm on windows) c:/apache/cgi-bin/test.php c:/apache/htdocs/click.html i want to call test.php from click.html. what is the syntax? is it something like: ../cgi-bin/test.php? ---

[PHP-DB] mysql driver

2001-09-11 Thread its me
i was told to upload my database to server,i do it in access and then extract it and do so i need ODBC driver for MySql. is that true?did anyone tried this befor..and is there any other way? if anyone used it..from where can i get the driver?

[PHP-DB] session problem

2001-09-11 Thread its me
here is my code,u only have to care for the session part: this is the login page: http://$HTTP_HOST/mall/menu.php";); exit(); } else { echo "Sorry,you entered either a wrong User Name or Password.Try again"; echo "Back"; } else: ?> Login Page User Name Passwo

[PHP-DB] session

2001-09-11 Thread its me
Cannot send session cache limiter - headers already sent (output started at C:\apache\htdocs\mall\menu.php:9) in C:\apache\htdocs\mall\menu.php on line 10 this message appear when i make session_start() on a page??

[PHP-DB] log out

2001-09-12 Thread its me
http://$HTTP_HOST/mall/menu.php";); ?> i wanna make this my log out page. it works without the: header("location:http://$HTTP_HOST/mall/menu.php";); i tried to put it befor session_destroy() but still didn't work??? ---

[PHP-DB] Limit problem

2001-09-15 Thread its me
i wanna limit the result for 10 records per page. if anyone have a script doing this. if i said for example limit 0,10 how in next page i'll get next ten? -- PHP Data

[PHP-DB] include_path

2001-09-17 Thread its me
Fatal error: Failed opening required 'connect.php' (include_path='.:/usr/local/lib/php') in /home/sites/site92/web/mall/confirmregistration.php on line 3 and Fatal error: Failed opening required 'connect.php' (include_path='') in /home/sites/site92/web/mall/confirmregistration.php on line 3

[PHP-DB] .htaccess

2001-09-18 Thread its me
where i can find info abour .htaccess and .htpasswd files and what should be the code inside them its urgent please guys -- PHP Database Mailing List (http://www.php.n

[PHP-DB] access denied

2001-09-19 Thread its me
Warning: MySQL Connection Failed: Access denied for user: 'rehab@localhost' (Using password: YES) in /home/sites/site92/web/mall/confirmregistration.php on line 14 Error connecting to host localhost, by user rehab should i use this: GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON

[PHP-DB] uploading

2001-09-19 Thread its me
i want the user to upload files to server when i worked offline i used to write: $updir = "C:\apache\htdocs\mall\logos"; as logos folder is where i put the files(logos) all my files is in a folder called mall and inside the mall folder there is the logos folder. what should be the equivilant of

[PHP-DB] .htaccess

2001-09-23 Thread its me
i wanna include auto_prepend_file in .htaccess how can i write the path to file ??? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

[PHP-DB] Grant statement

2001-09-24 Thread its me
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON database_name.* TO username@localhost IDENTIFIED BY 'password'; do i write this is my php file??? and is this its right syntax just put it like this??as i know i put like this when using the command line..but in

[PHP-DB] databse tables!!!

2001-09-26 Thread its me
does anyone know the max number of tables the mysql can support and still work efficient??? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP-DB] multiple selection!!! urgent guys

2001-09-26 Thread its me
i made in form list menu with multiple select: Envelopes transparencies greeting cards labels plain paper iron-on transfers photo paper banners glossy coated paper glossy photo paper glos

[PHP-DB] javascript

2001-09-26 Thread its me
hi there.does anyone know how to pass a variable value to the new window i opened with open() of javascript? -- PHP Database Mailing List (http://www.php.net/) To uns

[PHP-DB] guys here is my problem in a simpler way:)

2001-09-26 Thread its me
hi there, i have a similar problem which is driving me crazy and i hope u can help with: i have a form whith a normal button when clicked ,i open a new window through javascript(this window have a php script) which i wanna pass to it a form field: but as i told u there is no submission for

[PHP-DB] Multiple upload

2001-09-26 Thread its me
is there a way i can upload more than one file in the same page -ofcourse in 2 different form fields-??? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,