Entering Data On Multiple Pages Using Php
RegisterLogin
Entering Data On Multiple Pages Using Php
Post Description: show me about Entering Data On Multiple Pages Using Php inserting database data into mysql using php script code
Tags: Entering, Data, On, Multiple, Pages, Using, Php
This Post Was Posted On Oct 13, 2009 By Hidimi #2568
Post Description: show me about Entering Data On Multiple Pages Using Php inserting database data into mysql using php script code
Tags: Entering, Data, On, Multiple, Pages, Using, Php
This Post Was Posted On Oct 13, 2009 By Hidimi #2568
Entering Data On Multiple Pages Using Php by Hidimi
i have a script which is in php and i have a mysql database query that's not doing what i wanted to do.
i want to be able to enter my datab into multiple pages.
for example, i have a blog and i want to associate each page which are related so i wan to update all the related pages this is how it my query looks like
$query = "INSERT INTO blogpages SET relatedpage = 25";
somehow its updating all the pages
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
webune
#2579 1
your query should probably look like this:
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
$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
Oct 13, 2009 Reply Report abuse
©2012 Webune Forums - Fri Dec 14, 2012 5:49 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3