Searching a Mysql Database With PHP and FLEX 2.0
Hi there
I need help with an adobe Flex 2 PHP Mysql project.
This project has a search feature where the user selects
Criteria based on 3 dropdown components that are populated with
dynamic data from PHP MYSQL.
When the user selects these 3 criterias,we would like the
results to be displayed on the flex application under the search
bar,
Please let me know If You would be interested.
I have Adobe Connect,MSN,AIM,SKYPE,YAHOO,etc.
We can offer more work after this job has been completed.
I am an 8 year Internet veteran with a Mass amount of
Work,and projects,for flex.
Please at least email me with any questions,
Thanks
Brandon James Broga
web technologies
[email protected]
aim = brandonjb2008
msn= [email protected]
yahoo = webtechhost
...Have you gotten any replies on this yet? If not...I've
been putting small web apps, and web-enabled clients, together
under pressure for nearly 10 years...Mostly
VBscript/Javascript/SQLserver/Oracle, but I can do JSP and have
also dabbled in PHP/MySQL (my
Movies
Database Page is in PHP/MySQL). I've been trying to get some
time to setup a Flex 3 container on my home server, probly I'll use
WebOrb...
Lemme know,
Pudnik
Similar Messages
-
How to use non-MySQL database with DW and PHP...???
I need to connect to a data-source that is not MySQL from
with my PHP scripts. The only option I get under the Databases tab
in the Application panel is MySQL Connection. What about just
standard ODBC connections? Will DW not handle those for me? Do I
have to do all of that by hand??
Any information would be greatly appreciated. Thanks!"Angell EYE" <[email protected]> wrote in
message
news:fc4eaj$fmn$[email protected]..
>I need to connect to a data-source that is not MySQL from
with my PHP
>scripts.
> The only option I get under the Databases tab in the
Application panel is
> MySQL
> Connection. What about just standard ODBC connections?
Will DW not
> handle
> those for me? Do I have to do all of that by hand??
>
> Any information would be greatly appreciated. Thanks!
There once existed an opensource servermodel called phakt
that used the
ADODB database abstraction library,
the company that created and supported it was bought by Adobe
and
subsequently the project was cancelled.
A group of people (including me) started a community
initiative@
http://openphakt.sourceforge.net
to continue distribution and development of
phakt, but unfortunately I don't have access to Dreamweaver
CS3 due to lack
of funding.
Phakt will almost certainly NOT run on CS3 in it's current
state, but is
should support previous versions.
Joris -
Help with PHP and FLEX integration
Hello i was wondering how to use php sessions with flex, i
need a way to have secure connections between flex and php.
I am using a script i made to pass mysql commands/results
between them, and i am currently passing the php session id with
the transactions. But if anyone gets a hold of a valid php session
id then they will be able to use it. Possibly using flex server to
have secure transactions?
If i host both the flex created swf and the php file on a
https server will it "talk" securely?
thanks lotsYou may get a quicker answer from Cartweaver's newsgroups.
http://www.cartweaver.com/support/
They're usually quite prompt and helpful. -
How to connect mySQL database with jdbc
Who can tell me how to connect mySQL database with jdbc? Thanks
http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=¬=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16
-
Populate Livecycle PDF from mySQL database using PHP
I'm trying to set up a database of loan agreements, where users will submit a form through Acrobat and their information will be stored in a mySQL database. Later, they can go back and download the PDF, which will be repopulated with their data in the mySQL db.
I made the form in Livecycle Designer and submit the information through HTTP POST. I can easily get the information from the form into the database...my only problem is getting that information back out into the PDF.
What would allow me to write back to the PDF, preferably using PHP? What kind of syntax would that require?
Thanks!I have a vital form that clients fill out, which is passed to many people in the company along the workflow. The form is a Planner and we have in the following PDF, Word Doc..
Well before, the Planner.pdf was originally created in Word, since most people have access to Word.. but evolved to a PDF form created from the Word Doc via Adobe LiveCycle Designer 8.0 w/ User Rights enabled so that the form could be filled out and saved using Adobe Reader.. which was a step better than Word.. being that it is free. But this needed to be easier and more to the point b/c some clients don't particularly like installing the latest version of Reader, even if you provide them the link. Nor do they like saving the form, filling the form, and attaching the form to send back.
My goal is to have the client fill an HTML version of the form, submit and be done with it, but everyone in the workflow be able to easily receive the filled Planner as a PDF form.
So some months ago I ran into this post Chris Trip, "Populate Livecycle PDF from mySQL database using PHP" #8, 22 Sep 2007 4:37 pm
which uses the command line Win32 pdftk.exe to merge an FDF file into an existing PDF on the remote server, and serve this to whoever.
My problem was with shared hosting and having the ability to use the Win32 pdftk.exe along with PHP which is predominantly used on Linux boxes. And we used a Linux box.
so i created the following unorthodox method, which a client fills the HTML version of the Planner, all field values are INSERTED into a table in MySQL DB, I and all filled planners that have been filled by clients to date can be viewed from a repository page where an XML file is served up of the corresponding client, but someone would have to have Acrobat Professional, to import the form data from the XML file into a blank form.. altoughh this is simple for me.. I have the PHP file already created so that when a Planner is filled and client submits. >> the an email is sent to me with a table row from the repository of the client name, #, email, and a link to d-load the XML file,
But I also have the PHP files created so that the Planner can be sent to by email to various people in the workflow with certain fileds ommitted they they do not need to see, but instead of the XML file beiong served up i need the filled PDF Planner to be served.
I can do this locally with ease on a testing server, but I am currently trying to use another host that uses cross-platform compatibility so i can use PHP and the pdftk.exe to achieve this, as that is why I am having to serve up an XML file b/c we use a Linux server for our website, and cant execute the exe.
Now that I am testing the other server (cross-platform host), just to use them to do the PDF handling (and it's only $5 per month) I am having problems with getting READ, WRITE, EXECUTE permissions..
Si guess a good question to ask is can PHP do the same procedure as the pdftk.exe, and i can eleminate it.
or how in the heck can i get this data from the DB into a blank PDF form, like i have described??
here are some link to reference
Populating a LiveCycle PDF with PHP and MySQL
http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL
HTML form that passed data into a PDF
http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.htm l
and an example
http://accesspdf.com/html_pdf_form/ -
Is it possible to insert data into a MySQL database with Java?
Hello everyone!
I would like to know, if it's possible to insert data into a MySQL database, with a JFrame inside a servlet?
When the JFrame is first created it calls this method:
* Connects the servlet with the MySQL database.
private void connect(){
try{
Class.forName("com.mysql.jdbc.Driver");
connection = DriverManager.getConnection(
"jdbc:mysql://localhost:3306/data", "root", "omfg123");
}catch(ClassNotFoundException cnfe){
cnfe.printStackTrace();
}catch(SQLException sqle){
sqle.printStackTrace();
}Then, when you click the "Add" button, it executes this code:
add.addActionListener(new ActionListener(){
@Override
public void actionPerformed(ActionEvent ae){
String employee = employeeName.getText();
String[] args = employee.split(" ");
firstName = args[0];
lastName = args[1];
execute();
});And this is my "execute()" method:
* Connects the servlet with the MySQL database.
* - And executes the SQL queries.
private void execute(){
try{
PreparedStatement statement = connection.prepareStatement("insert" +
" into employees values(" + firstName + ", " + lastName
+ ")");
ResultSet result = statement.executeQuery();
String fullName = firstName + " " + lastName;
printer.write("Employee " + fullName + " added.</br>");
}catch(SQLException sqle){
sqle.printStackTrace();
}But when I click the "Add" button, nothing happens.This is what I use to insert into mysql. It works on windows.
try {
Class.forName("com.mysql.jdbc.Driver");
String connectionUrl = "jdbc:mysql://" + loadip + "/custsig?" +
"user=root&password=";
Connection con = DriverManager.getConnection(connectionUrl);
newproc = jTextField1.getText();
newsoft = jTextField2.getText();
newdeb = jTextField3.getText();
newcust = jTextField4.getText();
if (newcust.equals("")) {
errorsig12 = 1;
jLabel1.setForeground(new java.awt.Color(255, 0, 0));
} else if (newsoft.equals("")) {
errorsig12 = 1;
jLabel2.setForeground(new java.awt.Color(0, 0, 0));
} else if (newproc.equals("")) {
errorsig12 = 1;
jLabel3.setForeground(new java.awt.Color(0, 0, 0));
} else if (newdeb.equals("")) {
errorsig12 = 1;
jLabel4.setForeground(new java.awt.Color(0, 0, 0));
if (errorsig12 == 0) {
PreparedStatement ps = con.prepareStatement("insert into customer set cust_name = ?, software = ?, processor = ?, debit = ?");
ps.setString(4, newdeb);
ps.setString(3, newproc);
ps.setString(2, newsoft);
ps.setString(1, newcust);
int rs = ps.executeUpdate();
} catch (SQLException eg) {
System.out.println("SQL Exception: " + eg.toString());
} catch (ClassNotFoundException cE) {
System.out.println("Class Not Found Exception: " + cE.toString());
} -
Try to use Mysql database with forte
Dear All:
As title said, I try to use Mysql database with forte.
I read the manual , it said I have to put the database jdbc driver in
the Forte for Java lib/ext directory.
I did it and then add a new Driver in the Runtime tab in the Explorer
window .
But when I try to test this new driver(by Right-clicking on the driver
or connection in the Explorer and select Test Driver from the context
menu),it said "cannot find driver class: check your CLASSPATH or
\lib\ext direectory".
I am sure I'hve put the driver class(with the whole directory structure)
in that folder.
Does anyone what I may go wrong ?
Could you please give me some advices that I can fix this problem ?
Thanks in advance.
Ken @ Taipei , Taiwan , AsiaYou should have put the jar file that contains the driver into that directory. If you unpacked the jar file and put the individual classes into that directory, it will not work.
-
Hi guys Pls tell me a way to connect db4 database with jsp and which driver
hi guys
Pls tell me a way to connect db4 database with jsp and
also tell me which driver i have to use
also tell me how to connect with excel sheetstake a look at the follwing links. There, you'll find all what you need :
DB4:
http://www.oracle.com/database/berkeley-db/je/index.html
http://www.oracle.com/technology/products/berkeley-db/je/index.html
http://www.oracle.com/database/berkeley-db/db/index.html
http://www.oracle.com/database/docs/berkeley-db-je-datasheet.pdf
Excel:
http://64.18.163.122/rgagnon/javadetails/java-0516.html
Hope That Helps -
How to connect MySql database with JSP
Dear everyone,
how to connect MySql database with JSP......It's too bad that nobody has ever asked this question before...
-
Create new MySQL Database with SQL
I have a simple question, :-)
how can I create a new MySQL Database with SQL - (JDBC)
can you show me a code example?
tank you ...okay ... but how do I use the URL ??? that's the problem
I tried this:
Connection con = null;
Vector vct = new Vector();
try{
String drv = "org.gjt.mm.mysql.Driver";
String url = "jdbc:mysql://111.222.333.444:3306";
String name = "myname";
String pass = "mypass";
Class.forName(drv);
con = DriverManager.getConnection(url,name,pass);
String statement = "CREATE DATABASE TestDB_Don1";
Statement stm = con.createStatement();
stm.execute(statement);
stm.close();
con.close();
catch(Exception e){ e.printStackTrace(); }but it doesen't work ............. what is wrong ? -
Recover database with datafile and logfile
Hi Export,
we have one maxdb database. For some reasons, we have no backup and lost the programs binaries. Is it possble to recover the database with datafile and logfile? and how?
thanks a lot.
RongfengHello Rongfeng,
1. Please see document u201CHowTo - Creating a clone of a SAP MaxDB databaseu201D at
http://wiki.sdn.sap.com/wiki/display/MaxDB/SAPMaxDBHowTo
and review the section u201CCreating a clone manually via reusing volumes and parameters.u201D
2. You wrote, that you u201Clost all dba passwords.u201D
Please review the SAP note 25591. This note also has the brief description of the database user types.
You are SAP customer, I recommend you to create the SAP message to the component u201CBC-DB-SDBu201D to clarify more details about the problem & find solution for you.
Thank you and best regards, Natalia Khlopina -
Dreamweaver CS5.5 Mobile Apps with PHP and MYSQL?
Hello,
I don't have Dreamweaver CS5.5 yet and I've been trying to search for information on this but I couldn't find any. I've been learning PHP and been developing with MYSQL with Dreamweaver CS5 but I wanted to know if I can use the same tags and everything if I would to build a Mobile App using the new Dreamweaver CS5.5 (http://tv.adobe.com/watch/cs-55-web-premium-feature-tour-/dreamweaver-cs-55-jquery-mobile- pages/). I overlooked at the video and it seems pretty easy building an app. So is PHP and MYSQL easily integratable? Are there any examples that I might be able to check out?
Thanks!No. PHP is a server-side scripting language that requires a server (or server-like environment) to run.
An iPhone (or Android) application does not allow for a "built-in" server (which is resource intensive and has scary security implications). You just can't build an application with PHP/MySQL for a mobile device. Instead you can build a web service that your HTML/JavaScript mobile application can then communicate with. This is the only supported way you can use PHP/MySQL in a mobile app. Again: the PHP/MySQL should reside on a server and your HTML/JS mobile app can then communicate with that web service. That's what instapaper and other applications do.
Frankly, just make a web application that's mobile device friendly and you'll:
1) Avoid all the messiness of the app stores
2) Have greater control over what your web app can do (don't have to tow the Apple/Google line)
3) Have a web app that can work across mulitple mobile devices as well as standard web browsers (i.e. more audience = more $).
4) Future proof your application (pushing updates to your server and everyone using your web app is updated)
Otherwise, read-up on Adobe AIR and what it supports and remember, the best apps are written natively for the platform (i.e. want to write an app for an iPhone? Learn Objective-C and use xCode on a Mac. Want to write an app for Motorola Xoom? Learn the Android SDK and use inteliJ). -
Using databases with Flash and PHP
Hi, everyone!
I`m a PHP newbie. I just learned PHP so that I can use
databases with Flash.
I`ve got a .php script that contains html that loads up my
.swf file. The .swf file is the core of my site. What I want to
know is if I can call some PHP functions (that I have wrote in the
.php script) from within the .swf file... This functions would
perform the reading and updating of my database.
The only way I know of to modify a database from Flash is
using the POST and GET methods. But that opens up a new browser
window in which the PHP script is called. And that only handles
writing in the database. So, what if I just want to read from the
database some values and insert them into a TextField in Flash? How
do I do that?
Thanks! Ardy1. Goggle "Flash and mySQL" and you'll get a listing of alot
tutorials
2. I'm also just learning. Here's a great URL to start:
Building with Flash and MySQL
That's right, a Flash-based blog — it sounds a little
loony, but this blog pulls content from a MySQL database and feeds
it into the dynamic Flash frontend ...
www.webmonkey.com/programming/php/tutorials/tutorial2.html -
20k - Cached - -
Problems with PHP and MySQLi server behaviors
Hi,
I'm a graphic and Web-designer with some knowledge of PHP and MySQL and I've been using Dreaweaver since very early ages in creating dynamic web projects and use the Bindings and Server behaviors quite a lot. But recently PHP has deprecated MySQL_connect since 2012 and it seems Dreamweaver isnt suporting the alternative MYSQLi server behaviors which will be the future of accessing Databases in MySQL along side with other options. Without this feature Dreamweaver is not of any use to us web-designers, since there are many Free great Editing software out there... Is the Dreamweaver team solving this problem? Or are you really planning on dropping this software? I've been using CS5.5 for a while and was planning on updating but this is a key feature and without it its not worth the investment.
Kind regards.
Eddyheduino wrote:
Hi,
I'm a graphic and Web-designer with some knowledge of PHP and MySQL and I've been using Dreaweaver since very early ages in creating dynamic web projects and use the Bindings and Server behaviors quite a lot. But recently PHP has deprecated MySQL_connect since 2012 and it seems Dreamweaver isnt suporting the alternative MYSQLi server behaviors which will be the future of accessing Databases in MySQL along side with other options. Without this feature Dreamweaver is not of any use to us web-designers, since there are many Free great Editing software out there... Is the Dreamweaver team solving this problem? Or are you really planning on dropping this software? I've been using CS5.5 for a while and was planning on updating but this is a key feature and without it its not worth the investment.
Kind regards.
Eddy
There are no plans that I know of to introduce a new set of mysqli server behaviours into DW from Adobe. They have left that to thrid party developers to bring out extensions which replace them.
What the server behaviours could do was very limiting anyway so I suspect any replacement mysqli behaviours would also be very limiting. I personally jumped into thre code and started to write my own mysqli connection files and query strings by watching a few simple tutorials on youtube - it isnt that difficult.
Look for 'php academy' on youtube - they have about 9 simple to follow tutorials on getting started with mysqli. -
Reading and writing to a MySQL database with Java
Anyone knows what's the best way to read and write from a MySQL database?
> Anyone knows what's the best way to read and write
from a MySQL database?
Yep!
The Java� Tutorial - Trail: JDBC� Database Access
MySQL Reference Manual
MySQL Connector/J Documentation
Driver/Datasource Class Names, URL Syntax and Configuration Properties for Connector/J
Best of luck!
~
Maybe you are looking for
-
PDF preview of form in WDJ doens't show a dynamic form but static.
Hi, I designed a pdf form in standalone adobe designer 7.1. I saved the file as DYNAMIC pdf. I have a WDJ with a view, which contains an Interactive Form element. I linked the dynamic pdf to the designer by importing the file in the designer. But whe
-
Does the Apple Cinema Display 24-inch monitor require color calibration like any other monitor? I have a Spyder2Express but have not used it yet with this new screen. Anyone who calibrate their 24-inch screen from Apple?
-
This is for anyone that uses Internet Sharing via System Preferences. If you have this enabled then you will not be able to use Audio, Video or Screen Sharing via iChat! Simply turn Internet Sharing off when you want to use these features! pv
-
Xcelsius connectivity while using SAP Netweaver BI Connection
Dear All,, Any Help in this regard would be highly appreciated. System Information BI EHP2 System u2013 SAP NW BI 7.02 Xcelsius u2013 2008 SP3 BI Portal u2013 EHP2 / Single sign on with Windows AD When accessing a BExQuery in the XCelsius 2008(SP3) D
-
Need Special Stock (Tables & Fields) details
Hi Experts, My requirement is to find the opening stock for a particular month. I fullfilled this with the help of MBEWH, MARDH, S031...etc. But My point is it is showing only valuated stock, And I cannot find the special stock (Consignment), Can any