Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: PRoblem in Delete

Started 1 month ago by Will Gresham
Do you mean delete in an SQL query, or a unlink to delete files?
Site: www.daniweb.com - IT Tech Talk  www.daniweb.com - IT Tech Talk - site profile
Forum: PHP  PHP - forum profile
Total authors: 4 authors
Total thread posts: 40 posts
Thread activity: no new posts during last week
Domain info for: daniweb.com

Other posts in this thread:

manishmannan replied 1 month ago
• • • • Originally Posted by Will Gresham Do you mean delete in an SQL query, or a unlink to delete files? sory brother your are not getting me my question is i am working on some multiple records like here is my code <?php //echo $user; session_start(); if (!isset($_SESSION['myusername'])) { echo'<center><b>You need TO login First</b></...

network18 replied 1 month ago
If you upload the same script as it is to work on the server, it's supposed to throw errors. Look your few variable settings, you need to change them to the server values. Help with Code Tags PHP Syntax ( Toggle Plain Text ) $host = "localhost" ; // Host name, should be actual db server name now, and not the localhost $username = "root" ; // Mysql ...

manishmannan replied 1 month ago
Thanks for your Reply yes brother after changing this personal information about the database still i am not able to delete the values selected by checkbox while with the same program i am able to delete the values on my localhost the script not work on internet why is it so is there any change needed in php.ini or any change needed in mysql plz tell me i am in big trouble

manishmannan replied 1 month ago
in my localhost my PHP Engine Type is MyISAM While on Internet My php Engine Type is InnoDB is there any difference in both the type of PHP engine

network18 replied 1 month ago
you did the same common mistake..not doing isset on $_POST['btnName']. your improved code here - Help with Code Tags PHP Syntax ( Toggle Plain Text ) <?php //echo $user; session_start ( ) ; if ( ! isset ( $_SESSION [ 'myusername' ] ) ) { echo '<center><b>You need TO login First</b></center>' ; include 'login.html' ;...

manishmannan replied 1 month ago
thanks for your reply sir but my coding is currently working on localhost but not working on internet why is it so if your changes work then i will back to you thanks once again

network18 replied 1 month ago
you tried this code, change method in the form to 'POST' and the successive changes from $_GET to $_POST like - if(isset($_POST['delete']) && $_POST['delete'] =='Delete')

manishmannan replied 1 month ago
but boss my script is not working even on local host after changing with get to post i am remain with my $_GET Script

network18 replied 1 month ago
• • • • Originally Posted by manishmannan whenever i am working on local host it work fine but after uploading file on internet this script not deleting any records what do i do???? so what error you getting on the server? Again you including the login.html and using <?php echo $user; ?> in the script, $user gets set in the html file?? check with this...

 

Top contributing authors

Name
Posts
manishmannan
26
user's latest post:
PRoblem in Delete - Page 5 - PHP
Published (2009-11-07 00:00:00)
hello friend this topic has been closed plz create new topic and invite me iwill definetily help u my dear
network18
11
user's latest post:
PRoblem in Delete - Page 3 - PHP
Published (2009-11-05 00:00:00)
&bull; &bull; &bull; &bull; Originally Posted by manishmannan is there any difference in any both the version of my sql?????? Firstly, thanks for the neat and clean information. But its not the MySQL version issue. Can you put here the MySQL connection settings you making.Like i said previously, when you executing the script on the server, you need to do the proper changes in the server address like...
Will Gresham
2
user's latest post:
PRoblem in Delete - Page 2 - PHP
Published (2009-11-04 08:38:51)
Please use code tags, it makes it easier to read your code. Also, the code on the first page has a Delete statement, the code above does not. Which code are you using at the moment?
capepradeepa
1
user's latest post:
PRoblem in Delete - Page 5 - PHP
Published (2009-11-06 09:32:54)
hello frenz, i m curently doing a project in php with Mysql under a topic &quot;stock management&quot; i have juz created my pages such as for log in,insert my probs is delete,view stock in runtime is not working would u help me plz

Related threads on "www.daniweb.com - IT Tech Talk":

Related threads on other sites:

Thread profile page for "PRoblem in Delete" on http://www.daniweb.com. This report page is a snippet summary view from a single thread "PRoblem in Delete", located on the Message Board at http://www.daniweb.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity