How do i get output from my database
Autor: Peter K.
Besucht 2230,
Followers 1,
Geteilt 0
I have made a MYSQL-database in my Websitex5 pro15. I can write to the the database from my site.
The database has a field width name and a field width telephone-number.
No i want to get data FROM the database. I know that is in the serverside this should be done. But how do i communicate width this? I would like to make an input-field to write the name, so i can search a telephone-number.
Gepostet am
If you have some SQL experience you might want to contact the database from your admin panel from your provider.
Else you could try the database viewer object.
Autor
I have the full control of the database. In the databaseviewer object i cannot get one field. I can only show the whole record a time.
In my project i need a input-field to send data to the database (name) AND a field to show the result from the database seek (telephone-number). I can use the html-object, but i would like if there was a Websitex5 object, so i could use the grafic from the Websitex5.
Hi Peter,
Of course what you want is possible, but you will need PHP-, Ajax, and Javascript knowledge to do this.
Regards,
Robert
Autor
It is a lack of Websitex5 that you can not exploit its fantastic graphical properties when it comes to databases. The Dbviewer could be made more flexible, so you could control the appearance of the fields. As far as I can see is the only way to solve this is working with old-fashioned tables.
You can always create an IDEA post for Incomedia to create new features.
The work with database was a few versions ago still close to nothing, it is getting better and better.
So give it a try and pherhaps they can create something.
Best Regards,
Hello Peter
I have made an example for you here : http://www.bramminginfo.dk/brm20/database.html
Kind regards
John S.