-
Posts
244 -
Joined
-
Last visited
Everything posted by chintansshah
-
I suggest to use empty() instead of isset()
-
use below code and run on your server $ini = ini_get_all(); print_r($ini); many times, your localhost and live server ini settings are different, just run above code on both server and compare it, using, ini_set() you can change your server ini settings
-
I want to integrate phpbb3 with clipshare(youtube clone) If user login into clipshare CMS, phpbb3 login wont require, it login that user automatically. Anybody have any idea of script or any tool for integration?
-
insert multiple foreignkeys into the same table
chintansshah replied to paulus4605's topic in PHP Coding Help
About country validation, you need to check country field name and your validation. can you paste validation code here? use multiple phrase and change size =5 in select tag like <select multiple size="5" name="country"> You can select multiple values using control key -
insert multiple foreignkeys into the same table
chintansshah replied to paulus4605's topic in PHP Coding Help
dude, do some googling, you will find ample of reference links to validate forms in php -
insert multiple foreignkeys into the same table
chintansshah replied to paulus4605's topic in PHP Coding Help
do you wish to apply javascript validation or php validation? Javascript is client side validation and php is server side validations. -
you are right phpSensei, it's very true to change code for $_POST variables and values. change $_POST['mail'] to $_POST['email']
-
website is showing stuff thats not in the .php?
chintansshah replied to dominic600's topic in PHP Coding Help
I think, you should change hostdetails, check your site configuration file and change mysql_connect with new server details. -
are checking mail on your local pc or on web server?
-
I didn't found move_uploaded_file function to move from tmp folder to destination folder. check http://php.net/manual/en/function.move-uploaded-file.php
-
Can you paste whole code instead of piece of code. I really need to see $row = mysql_fetch_array($result); $result query of the above code.
-
Can you print your query on screen, if you get correct value then you should identify some other problem. I think, your query should be $sql = mysql_query("UPDATE pics SET link='".$target_path."', name='".$uploadedfile."' WHERE id='".$userid1."'")or die(mysql_error());
-
insert multiple foreignkeys into the same table
chintansshah replied to paulus4605's topic in PHP Coding Help
Write below line instead of your current line "<option value=".$nt['id'].">".$nt['country']."</option>"; String concatenation required! please confirm your table field name also. -
insert multiple foreignkeys into the same table
chintansshah replied to paulus4605's topic in PHP Coding Help
Can you paste your HTML code here. In your country drop down, use country_id is option value. like <option value="<?php echo $row['country_id']; ?>"><?php echo $row['country_name']; ?></option> -
php dont insert values in database mixed types
chintansshah replied to Karyna's topic in PHP Coding Help
php parse ' quote as a string. So use concatenation in Insert query. -
you should start learning of session handling in php, can learn in w3schools and php.net website.
-
Can you check that users/images folder has 777 permission to upload a file!
-
PHP mail headers reply from address with Var
chintansshah replied to dk4210's topic in PHP Coding Help
You can do this using mail($to, $subject2, $message2, "From: ".$form2); -
Hello, I found the problem, actually in header file I write redirection code and it's added in login.php also Thanks guys for support. Problem resolved now.
-
Best PHP integration WYSIWYG editor is CKeditor, find link below http://ckeditor.com/
-
Please explain problem in detail.
-
Fetch field from one query to use in the next query
chintansshah replied to spinner0205's topic in PHP Coding Help
1. Can you print insert query and check if it's working in phpmyadmin 2. Which datatype you are using for 'name' field 3. use mysql_error to get exact error in query, ref: http://php.net/manual/en/function.mysql-error.php -
I am working on lovcalhost. After login I want to redirect it to my homepage.php but browser gives me below error. The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies. After login.php, action is validation.php and if user enter correct value then it redirects to homepage.php
-
I have issue in Virtuemart component in Joomla I have created 5 categories, I want to hide 2 categories from 5. I don't want to unpublish it, I want them publish but hide 2 categories on overview page.
-
Can you describe your problem in detail? Is your dB available in your mysql server,