
P5system
Members-
Posts
33 -
Joined
-
Last visited
Everything posted by P5system
-
Could u explain the question what you actually want to Save?
-
You can create a Image upload function and an Image thumb creation function and call this thumb creation function in Image Upload function. Then there is no need of file path
-
To just get the text from a PDF file, try these: - http://davidwalsh.name/read-pdf-doc-file-php - http://www.webcheatsheet.com/php/reading_clean_text_from_pdf.php (more in-depth) For a more heavyweight solutions, have a look at: - http://www.setasign.de/products/pdf-php-solutions/fpdi/
-
for($i=0;$i<5;$i++) { echo date('Y-m-j', strtotime('Monday+'. $i . ' day')).'<br />'; } corrected code.. please check it will work
-
echo $sql="Write your sql here"; exit; exit command will not allow to continue your code and echo will print the query
-
print the query and run it in phpmyadmin u wl get to know where the problem is........
-
Thank you all
-
Need help checking if a file exists before uploading
P5system replied to eldan88's topic in PHP Coding Help
Sure Let me know if there is any further queries eldan88 -
Need help checking if a file exists before uploading
P5system replied to eldan88's topic in PHP Coding Help
You have to chek the file in directory, so pass directory path as well -
Hi< I am running a script in php I want the user logout when they close the browser? Any help will be appreciated
-
how to run javascript even browser is closed
P5system replied to phpdeveloper123's topic in Javascript Help
No u cant run a javascript after browser is closed -
use mysqli function. It is used for connection in object oriented programming
-
passing the contents of an array to another page
P5system replied to ScrewLooseSalad's topic in Applications
Put the array as a session variable and pass it to any of the pages -
jquerys fadeIn won't start when the content is loaded with AJAX
P5system replied to Pain's topic in Javascript Help
Paste your code here, so that i can review it. You can check whether jquery is included in ajax page or not? -
You can use javascript validation. There are lots of free codes are available
-
You can check the url: http://php.net/manual/en/function.pdf-open-file.php
-
Thanks its really a good example
-
Your query should be like SELECT * From blog order by postedDate desc limit 1
-
At the begining when you are assigning $store_name = store1; put this string in quotes like $store_name = "store1"; print the actual query and paste it here
-
stripos — Find the position of the first occurrence of a case-insensitive substring in a string. For example: stripos(string,find,start); <?php echo stripos("Hello world!","WO"); ?> The output of the code above will be: 6
-
You can store user registeration date in database and write a php programm where you will write a delete query checking the records before 4 years and set this file in cron it will run everyday and delete the records automatically
-
Your query should be like this: WHERE s.subject_name LIKE '%$keyword%' AND c.city_name LIKE '%$keyword%' OR (o.option_name LIKE '%$option%' OR d.district_id = $districtId OR c.city_id = $cityId )
-
which version of php you are using?
-
Carry check box values to next page without submitting the form.
P5system replied to anshuman1's topic in PHP Coding Help
You can store all the selected value in a Session variable and pass this variable to next page and other wise you can use another approach write an ajax function and save the ID's in a temporary table on checkbox onclick., so when you click submit button fetch all the ids from temp table and send mail once mail is send truncate table. -
Checking db for usernames that already exist
P5system replied to wright67uk's topic in PHP Coding Help
Query Should be like this "SELECT * FROM registration WHERE uname = '$uname' OR email = '$email' LIMIT 1";