Entering Data On Multiple Pages Using Php
show me about Entering Data On Multiple Pages Using Php inserting database data into mysql using php script code
Entering, Data, On, Multiple, Pages, Using, Php


Tue Oct 13, 2009 12:42 am - Entering Data On Multiple Pages Using Php
#2568
Entering Data On Multiple Pages Using Php
author: Hidimi
Leave Your Comments
name
comments
Share
Share this post by copy and paste this URL and put it on your forums or use it on your profile like myspace, friendster, Facebook, Twitter or others and add in with your comments.
URL Link: ask
Use this HTML code to embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it.
Embed: ask
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on with Posts and Replies on your forums
BBCODE: ask
| More
Tue Oct 13, 2009 12:42 am - Re: Entering Data On Multiple Pages Using Php
#2579
webune
your query should probably look like this:

$query = "INSERT INTO blogpages SET relatedpage = 25 WHERE pagid = 24";


the way you had it it would update all the pages, but with the examle i gave you it only updates the specified row instead of all of your rows in your table