FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


some questions





malaz
hello
1-how to make a bottom and input text linked to database
someone wrote worker (click add)
inserted into database
and it's shown in the php page immedity

2-add new coloumns and rows into the php website immdetly with ready buttoms

3-edit those data tables immedetly by clicking on the edit bottom

is there any idea ? code ? explain about simple bottom i can continue

Regards

Question
Marcuzzo
Show us what you have and we could help you with that but more then that is not possible, especially with these specific requirements you are basically asking us to code it for you and we all have got other things that are already taking up most of our time.

there is no out of the box template for these type of projects, you basically start coding things from scratch;

off of the top of my head I see that you need to be using a lot of client-sided code and ajax calls to update your tables.

1. the click event of the button should run an ajax query with data to another php script that updates/inserts the record.
After the ajax query has returned you basically refresh the data ( not the page )

2. Adding a 'row' is just a matter of creating the needed html elements and a save button to post the data to the server.

3. editing data requires javascript, what I would do is turn the text fields into textboxes when entering 'edit' mode and then a save button will to what was mentionned in point 1
malaz
iv'e tried some ready html input text forms
i can modify it to my won idea
but i want the main idea about it cos i want to make a student website about new's
marks,curses , upload your curse ,etc...

do you ready script? ive started with login page it's ok
my setps is
coding insert tables
then coding delete tables
step by step
do u have example codes explained codes please?
Marcuzzo
malaz wrote:
iv'e tried some ready html input text forms
i can modify it to my won idea
but i want the main idea about it cos i want to make a student website about new's
marks,curses , upload your curse ,etc...

do you ready script? ive started with login page it's ok
my setps is
coding insert tables
then coding delete tables
step by step
do u have example codes explained codes please?


upload your curse...? Laughing

seriously, write up some code, post it on jsfiddle if needed and I will check but I'm not going to code anything from scratch, I simply don't have the time for it
jajarvin
You obviously have to run PHP script with AJAX and pull some data down from a MySQL database.
Related topics
The Unofficial Jokes Thread
A Few questions about your service...
How to ask questions
"global warming" questions... please share your an
Points and Domain Questions
Few questions
My site and Questions about it
Ashens Web Design Questions Thread
a few email/parked domain questions..
[*READ THIS FIRST!*] Commonly asked questions
Two questions
Yes, I know newbie questions but I'd appreciate the help.
several questions from newbie
i have a few questions
Newbie questions
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.