Jump to content
Larry Ullman's Book Forums

Search the Community

Showing results for tags 'update page with mysqli - php'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Single Editions
    • Modern Javascript: Develop and Design
    • The Yii Book
    • Effortless Flex 4 Development
    • Building a Web Site with Ajax: Visual QuickProject
    • Ruby: Visual QuickStart Guide
    • C++ Programming: Visual QuickStart Guide
    • C Programming: Visual QuickStart Guide
    • Adobe AIR: Visual QuickPro Guide
  • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (5th Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
    • PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (2nd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (1st Edition)
  • PHP for the Web: Visual QuickStart Guide
    • PHP for the Web: Visual QuickStart Guide (5th Edition)
    • PHP for the Web: Visual QuickStart Guide (4th Edition)
    • PHP for the Web: Visual QuickStart Guide (3rd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (2nd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (1st Edition)
  • Effortless E-commerce with PHP and MySQL
    • Effortless E-Commerce with PHP and MySQL (2nd Edition)
    • Effortless E-Commerce with PHP and MySQL
  • PHP Advanced: Visual QuickPro Guide
    • PHP Advanced and Object-Oriented Programming: Visual QuickPro Guide (3rd Edition)
    • PHP 5 Advanced: Visual QuickPro Guide (2nd Edition)
    • PHP Advanced: Visual QuickPro Guide
  • MySQL: Visual QuickStart Guide
    • MySQL: Visual QuickStart Guide (2nd Edition)
    • MySQL: Visual QuickStart Guide (1st Edition)
  • Other
    • Announcements
    • Newsletter, Blog, and Other Topics
    • Forum Issues
    • Social

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1 result

  1. Hello Larry, Yes, with the ex1 we could add page. But how create an update page ? it's CRUD system? Where i could find it in one of your book ? So first personaly, i create the list_page where i find all the list of pages from an user. //path to page Update <td><a href="author_list_page_update.php?page_id=<?php echo $row['page_id'];?>">Mise à jours</a></td> i create the page UPDATE for this user. first on this page UPDATE i select all attributes of this page $q = "SELECT * FROM pages WHERE (status='$st', title='$t', summary='$s', ingredient='$i', recipe='$i', tips='$t',filename='$f', category ='$cat_id', tag='$tag_id') )"; and after with the form "update" $q="UPDATE pages SET status='$st',title='$t', summary='$s', ingredient='$i', recipe='$i', tips='$t',filename='$f', category ='$cat_id', tag='$tag_id' "; $r = @mysqli_query($dbc, $q); My first problem that any value appear in the input of my form. <div class="form-group"> <label for="title">titre</label> <input type="text" name="title" value="<?php if(isset($_POST['title']) ) echo $_POST['title']; ?>" /> </div> a little advice will be cordially accept. Thanks
×
×
  • Create New...