Community Forums
Connect with us on LinkedIn
Community Notice
  
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    69

    Default PHPmyAdmin

    Hello,

    I am having a issue with PHPMyAdmin. When I click to insert or update a row, it automatically assigns a different number than what I type. The field is programmed to be a varchar(255) and is not the primary key and it is not set to auto_increment.

    WHen I click on update row and change the value of that field, PHPMyAdmin tells me that "Affected rows: Modifications have been saved." But, it does not change it.

    When I run the SQL commands in phpmyadmin, it comes back as a zero row affected.

    When I run a php file with the SQL commands, phpmyadmin does not show the change.

    Is this a foreign id issues?

    Can anyone help?

    Travis

  2. #2
    Member eNetHosts's Avatar
    Join Date
    Apr 2007
    Posts
    195

    Default

    Server Related

    Any red lights?
    Tried restarting SQL?
    and what version of SQL are you using?

    Local Issues

    Have you tried clearing you cache on your browser and redoing this?
    Our Website: http://www.enethosts.co.uk
    Premium Value Server Management: Click Here
    Our Off Network Support Services: Click Here
    Our Webdesign Services: Click Here
    Our Hosting Services: Click Here
    VPS/VDS Hosting, Super Cheap, Below Competitive Prices and cPanel Virtuozzo: Click Here - You Won't Find A Better Deal!


  3. #3
    Member
    Join Date
    Jun 2004
    Posts
    69

    Default

    No red lights.
    I have tried restarting...did not work.
    It is only on three rows of data...it works fine for the other 34 rows of data.

    MySQL version is 4.1.21-standard

    I tried it after clearing my cache and it still did not work.

    Thanks
    Travis
    Last edited by jlimited; 06-02-2007 at 11:05 AM.

  4. #4
    Member eNetHosts's Avatar
    Join Date
    Apr 2007
    Posts
    195

    Default

    Been as it's only three rows of data wouldn't it be easier to do a quick copy to notepad, delete rows, reinsert rows and copy back in data?
    Our Website: http://www.enethosts.co.uk
    Premium Value Server Management: Click Here
    Our Off Network Support Services: Click Here
    Our Webdesign Services: Click Here
    Our Hosting Services: Click Here
    VPS/VDS Hosting, Super Cheap, Below Competitive Prices and cPanel Virtuozzo: Click Here - You Won't Find A Better Deal!


  5. #5
    Member
    Join Date
    Jun 2004
    Posts
    69

    Default

    Every new row is given the same number...even through I type a different value in.

    It is also only in the one column.

  6. #6
    Member
    Join Date
    Jun 2004
    Posts
    69

    Default

    I figured out to fix it. I created a new column and copied the data from the old column into it. Then I delete the old column and renamed the new column.

    Travis

Similar Threads & Tags
Similar threads

  1. phpmyadmin
    By chrisb345 in forum Database Discussions
    Replies: 4
    Last Post: 06-27-2008, 12:15 PM
  2. PHPMyAdmin
    By jerrypr in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-27-2004, 12:40 PM
  3. phpMyAdmin
    By wills in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-23-2003, 02:53 AM
  4. phpmyadmin
    By Jammer2020 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-13-2003, 05:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube