Find Jobs
Hire Freelancers

misc php/mysql

$95-100 USD

キャンセル
投稿日: 14年近く前

$95-100 USD

完了時にお支払い
Create a general php page that allows the user to retrieve html fragments from mysql stored procedures. ? The stored procedure, along with any arguments are supplied on the URL. ? The php page simply calls the stored procedure and dumps any html received as a concatenated stream. ## Deliverables Provide single php page that takes one or more arguments in the following format [login to view URL] The php page responds by parsing the URL and calls a stored procedure named "sp_myproc" with the arguments and a userID (hardcode the userid as 55555 for now) In other words, append sp_ to the beginning of the procedure name and send the arguments with userID first: sp_myproc 55555, arg1, arg2, arg3... The results are returned from the mysql database as a static dataset with 1 or more records, with fieldnames that begin with "title" or "html" For example the stored procedure might contain SELECT? ? ? ? ? html1= "Hello World", ? ? ? ? html2= "<p>This is my first argument: " + @arg1 ? ? ? ? html3= "<p>Second argument: " + @arg2 ? ? ? ? html4 = "<p>This is from the table" + myfield ? ? ? ? ? ? FROM mytesttable where userid=@userid and testid=@arg1 Keep in mind that the stored procedure might return multiple rows. ? Simply concatenate all of the html fields together. ? The job of the php page is to simply display as a webpage "Hello World<p>This is my first argument: 17<p>Second argument: 22<p>this is from the table: mydata" So your php result will simply look something like ...Header stuff... <title>This is a Test page</title> <body> *********DUMP CONCATENATED HTML HERE********* </body>
プロジェクト ID: 3602606

プロジェクトについて

リモートプロジェクト
アクティブ 14年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です

クライアントについて

UNITED STATESのフラグ
United States
5.0
45
メンバー登録日:11月 4, 2003

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。