Parse errors on php page...
I am new to php and am trying to create a php form on a website I am building for a friend. The form looks like I want it to on the page.
http://www.mosaleen.com/order.html
It also works... sending the info to my email upon submit and redirecting me to the "Thank you for your order page".
The code to make the form function actually rests on the thank you page... I am attaching the code below.
http://www.mosaleen.com/Order.php
Problem is that when I validate the php page it tells me that there are parsing errors. Specifically:
Unable to determine parse mode
Line 1, Column 1:character "Y" not allowed in prolog
AND
Line 1, Column 85:end of document in prolog
Does anyone know where the problem is? I have checked my css sheets and they are validating just fine, so there shouldn't be any issue there. The php script was adapted from the one at http://dreamweaverspot.com/adobe-dreamweaver-tutorial-contact-forms/ if that helps.
<?php
$my_email = "[email protected]";
$continue = "thankyou.html";
$errors = array();
// Remove $_COOKIE elements from $_REQUEST.
if(count($_COOKIE)){foreach(array_keys($_COOKIE) as $value){unset($_REQUEST[$value]);}}
// Check all fields for an email header.
function recursive_array_check_header($element_value)
global $set;
if(!is_array($element_value)){if(preg_match("/(%0A|%0D|\n+|\r+)(content-type:|to:|cc:|bcc: )/i",$element_value)){$set = 1;}}
else
foreach($element_value as $value){if($set){break;} recursive_array_check_header($value);}
recursive_array_check_header($_REQUEST);
if($set){$errors[] = "You cannot send an email header";}
unset($set);
// Validate email field.
if(isset($_REQUEST['email']) && !empty($_REQUEST['email']))
if(preg_match("/(%0A|%0D|\n+|\r+|:)/i",$_REQUEST['email'])){$errors[] = "Email address may not contain a new line or a colon";}
$_REQUEST['email'] = trim($_REQUEST['email']);
if(substr_count($_REQUEST['email'],"@") != 1 || stristr($_REQUEST['email']," ")){$errors[] = "Email address is invalid";}else{$exploded_email = explode("@",$_REQUEST['email']);if(empty($exploded_email[0]) || strlen($exploded_email[0]) > 64 || empty($exploded_email[1])){$errors[] = "Email address is invalid";}else{if(substr_count($exploded_email[1],".") == 0){$errors[] = "Email address is invalid";}else{$exploded_domain = explode(".",$exploded_email[1]);if(in_array("",$exploded_domain)){$errors[] = "Email address is invalid";}else{foreach($exploded_domain as $value){if(strlen($value) > 63 || !preg_match('/^[a-z0-9-]+$/i',$value)){$errors[] = "Email address is invalid"; break;}}}}}}
// Check referrer is from same site.
if(!(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST']))){$errors[] = "You must enable referrer logging to use the form";}
// Check for a blank form.
function recursive_array_check_blank($element_value)
global $set;
if(!is_array($element_value)){if(!empty($element_value)){$set = 1;}}
else
foreach($element_value as $value){if($set){break;} recursive_array_check_blank($value);}
recursive_array_check_blank($_REQUEST);
if(!$set){$errors[] = "You cannot send a blank form";}
unset($set);
// Display any errors and exit if errors exist.
if(count($errors)){foreach($errors as $value){print "$value<br>";} exit;}
if(!defined("PHP_EOL")){define("PHP_EOL", strtoupper(substr(PHP_OS,0,3) == "WIN") ? "\r\n" : "\n");}
// Build message.
function build_message($request_input){if(!isset($message_output)){$message_output ="";}if(!is_array($request_input)){$message_output = $request_input;}else{foreach($request_input as $key => $value){if(!empty($value)){if(!is_numeric($key)){$message_output .= str_replace("_"," ",ucfirst($key)).": ".build_message($value).PHP_EOL.PHP_EOL;}else{$message_output .= build_message($value).", ";}}}}return rtrim($message_output,", ");}
$message = build_message($_REQUEST);
$message = $message . PHP_EOL.PHP_EOL."-- ".PHP_EOL."";
$message = stripslashes($message);
$subject = "Order from MoSaleen.com";
$headers = "From: " . $_REQUEST['email'];
mail($my_email,$subject,$message,$headers);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/subpage.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css" media="all">
<!--
@import url("styles.css");
-->
</style>
<!--[if IE 5]>
<style type="text/css">
#outerWrapper #subcontentWrapper #rightColumn {
width: 220px;
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
#outerWrapper #subcontentWrapper #content {
zoom: 1;
</style>
<![endif]-->
</head>
<body>
<div id="wrapperbackground">
<div id="outerWrapper">
<div id="header">
<div id="logo"><img src="images/logo2.png" alt="g" width="300" height="86" /></div>
<div id="links"><a href="about.html">About Us</a> | <a href="contact.html">Contact Us</a> | 417.825.1498</div>
<div class="clearFloat"></div>
</div>
<div id="nav">
<ul>
<li><a href="index.html"><span>Home</span></a></li>
<li><a href="about.html"><span>Idler Pulley Systems</span></a></li>
<li><a href="testimonials.html"><span>Proven Results</span></a></li>
<li><a href="install.html"><span>Installation</span></a></li>
<li><a href="order.html"><span>Order a System</span></a></li>
<li><a href="contact.html"><span>Contact Us</span></a></li>
</ul>
</div>
<div id="feature" style="display:none;"></div>
<div id="subcontentWrapper">
<div id="content"> <!-- InstanceBeginEditable name="content" -->
<h1>Thank You!</h1>
<p><span style="font-weight: bold">Your order has been submitted.</span> <br />
<br />
Please make your PayPal payment to <a href="mailto:[email protected]">[email protected]</a> for the required amount (see list below for a reminder on pricing). Once we receive your form AND payment we will confirm your order by email and include all shipping information. <span style="font-weight: bold">If additional information is required we will contact you by phone or email.</span></p>
<p>If you have questions regarding your order or payment, feel free to contact us at 417.825.1498.</p>
<p><img src="images/line.jpg" alt="" width="590" height="10" class="clearFloat" /></p>
<h1>Pricing List</h1>
<p style="font-weight: bold"> Shipping is free on all orders!</p>
<p>99-04 Saleen MoSaleen™ Idler Pulley System<br />
Powder Coated with standard black pulley ($175.00)<br />
Powder Coated with upgraded CNC aluminum anodized pulley ($225.00)<br />
Ceramic Coated with standard black pulley ($190.00)<br />
Ceramic Coated with upgraded CNC aluminum anodized pulley ($240.00)<br />
<br />
05-09 Saleen MoSaleen™ Idler Pulley System ($275.00)</p>
<!-- InstanceEndEditable --></div>
<div id="rightColumn">
<div id="rightColumnContent">
<h3>Saleen Performance Sites</h3>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li><a href="http://www.teamjdm.com"><img src="images/jdm.png" alt="JDM Engineering" width="200" height="94" /></a></li>
<li><a href="http://www.performanceautosport.com"><img src="images/pauto.png" alt="Performance Autosports" width="200" height="90" /></a> </li>
<li><a href="http://www.brenspeed.com"><img src="images/bren.png" alt="Brenspeed Custom Tuning" width="200" height="82" /></a></li>
<li><a href="http://www.stage3motorsports.com"><img src="images/stage.png" alt="Stage 3 Motorsports" width="200" height="73" /></a></li>
<li><a href="http://www.chicanesport.com"><img src="images/chic.png" alt="Chicane Sport Tuning" width="200" height="81" /></a></li>
<li><a href="http://www.spencerperformance.com"><img src="images/spen.png" alt="Spencer Performance" width="200" height="94" /></a></li>
</ul>
</div>
</div>
<br class="clearFloat" />
</div>
</div>
</div>
<div id="footer"><img src="http://www.justdreamweaver.com/templates/link/spacer.gif" alt="" width="1" height="1" />Copyright © 2008 MoSaleen Performance, LLC <br />
<a href="#">Site Map</a> | <a href="#">Privacy Policy</a> |
Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></div>
</body>
<!-- InstanceEnd --></html>
I have changed the code to where the php form section is within the html of the page I created. (posted below)
http://www.mosaleen.com/order_thanks.php
This option gets rid of the parsing error but creates 16 errors in code when validated. It still looks right and still emails correctly.
Is there a tutorial somewhere... or a simpler php code that would submit this form to email? It doesn't need to be fancy. Or... if one of these options work, which one should I work with.
Or... does it really matter that I am having the parsing error since the code looks right and is working? Not that it is clean design to leave it that way...
I think the problem lies in trying to insert the php coding ( that submits the form to email ) inside the thank you page... but Im not sure how else to handle this. Any suggestions?
Andrea
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/subpage.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css" media="all">
<!--
@import url("styles.css");
-->
</style>
<!--[if IE 5]>
<style type="text/css">
#outerWrapper #subcontentWrapper #rightColumn {
width: 220px;
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
#outerWrapper #subcontentWrapper #content {
zoom: 1;
</style>
<![endif]-->
</head>
<body>
<div id="wrapperbackground">
<div id="outerWrapper">
<div id="header">
<div id="logo"><img src="images/logo2.png" alt="g" width="300" height="86" /></div>
<div id="links"><a href="about.html">About Us</a> | <a href="contact.html">Contact Us</a> | 417.825.1498</div>
<div class="clearFloat"></div>
</div>
<div id="nav">
<ul>
<li><a href="index.html"><span>Home</span></a></li>
<li><a href="about.html"><span>Idler Pulley Systems</span></a></li>
<li><a href="testimonials.html"><span>Proven Results</span></a></li>
<li><a href="install.html"><span>Installation</span></a></li>
<li><a href="order.html"><span>Order a System</span></a></li>
<li><a href="contact.html"><span>Contact Us</span></a></li>
</ul>
</div>
<div id="feature" style="display:none;"></div>
<div id="subcontentWrapper">
<div id="content"> <!-- InstanceBeginEditable name="content" -->
<?php
$my_email = "[email protected]";
$continue = "thankyou.html";
$errors = array();
// Remove $_COOKIE elements from $_REQUEST.
if(count($_COOKIE)){foreach(array_keys($_COOKIE) as $value){unset($_REQUEST[$value]);}}
// Check all fields for an email header.
function recursive_array_check_header($element_value)
global $set;
if(!is_array($element_value)){if(preg_match("/(%0A|%0D|\n+|\r+)(content-type:|to:|cc:|bcc: )/i",$element_value)){$set = 1;}}
else
foreach($element_value as $value){if($set){break;} recursive_array_check_header($value);}
recursive_array_check_header($_REQUEST);
if($set){$errors[] = "You cannot send an email header";}
unset($set);
// Validate email field.
if(isset($_REQUEST['email']) && !empty($_REQUEST['email']))
if(preg_match("/(%0A|%0D|\n+|\r+|:)/i",$_REQUEST['email'])){$errors[] = "Email address may not contain a new line or a colon";}
$_REQUEST['email'] = trim($_REQUEST['email']);
if(substr_count($_REQUEST['email'],"@") != 1 || stristr($_REQUEST['email']," ")){$errors[] = "Email address is invalid";}else{$exploded_email = explode("@",$_REQUEST['email']);if(empty($exploded_email[0]) || strlen($exploded_email[0]) > 64 || empty($exploded_email[1])){$errors[] = "Email address is invalid";}else{if(substr_count($exploded_email[1],".") == 0){$errors[] = "Email address is invalid";}else{$exploded_domain = explode(".",$exploded_email[1]);if(in_array("",$exploded_domain)){$errors[] = "Email address is invalid";}else{foreach($exploded_domain as $value){if(strlen($value) > 63 || !preg_match('/^[a-z0-9-]+$/i',$value)){$errors[] = "Email address is invalid"; break;}}}}}}
// Check referrer is from same site.
if(!(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST']))){$errors[] = "You must enable referrer logging to use the form";}
// Check for a blank form.
function recursive_array_check_blank($element_value)
global $set;
if(!is_array($element_value)){if(!empty($element_value)){$set = 1;}}
else
foreach($element_value as $value){if($set){break;} recursive_array_check_blank($value);}
recursive_array_check_blank($_REQUEST);
if(!$set){$errors[] = "You cannot send a blank form";}
unset($set);
// Display any errors and exit if errors exist.
if(count($errors)){foreach($errors as $value){print "$value<br>";} exit;}
if(!defined("PHP_EOL")){define("PHP_EOL", strtoupper(substr(PHP_OS,0,3) == "WIN") ? "\r\n" : "\n");}
// Build message.
function build_message($request_input){if(!isset($message_output)){$message_output ="";}if(!is_array($request_input)){$message_output = $request_input;}else{foreach($request_input as $key => $value){if(!empty($value)){if(!is_numeric($key)){$message_output .= str_replace("_"," ",ucfirst($key)).": ".build_message($value).PHP_EOL.PHP_EOL;}else{$message_output .= build_message($value).", ";}}}}return rtrim($message_output,", ");}
$message = build_message($_REQUEST);
$message = $message . PHP_EOL.PHP_EOL."-- ".PHP_EOL."";
$message = stripslashes($message);
$subject = "Order from MoSaleen.com";
$headers = "From: " . $_REQUEST['email'];
mail($my_email,$subject,$message,$headers);
?>
<h1>Thank You!</h1>
<p><span style="font-weight: bold">Your order has been submitted.</span> <br />
<br />
Please make your PayPal payment to <a href="mailto:[email protected]">[email protected]</a> for the required amount (see list below for a reminder on pricing). Once we receive your form AND payment we will confirm your order by email and include all shipping information. <span style="font-weight: bold">If additional information is required we will contact you by phone or email.</span></p>
<p>If you have questions regarding your order or payment, feel free to contact us at 417.825.1498.</p>
<p><img src="images/line.jpg" alt="" width="590" height="10" class="clearFloat" /></p>
<h1>Pricing List</h1>
<p style="font-weight: bold"> Shipping is free on all orders!</p>
<p>99-04 Saleen MoSaleen™ Idler Pulley System<br />
Powder Coated with standard black pulley ($175.00)<br />
Powder Coated with upgraded CNC aluminum anodized pulley ($225.00)<br />
Ceramic Coated with standard black pulley ($190.00)<br />
Ceramic Coated with upgraded CNC aluminum anodized pulley ($240.00)<br />
<br />
05-09 Saleen MoSaleen™ Idler Pulley System ($275.00)</p>
<p> </p>
<!-- InstanceEndEditable --></div>
<div id="rightColumn">
<div id="rightColumnContent">
<h3>Saleen Performance Sites</h3>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li><a href="http://www.teamjdm.com"><img src="images/jdm.png" alt="JDM Engineering" width="200" height="94" /></a></li>
<li><a href="http://www.performanceautosport.com"><img src="images/pauto.png" alt="Performance Autosports" width="200" height="90" /></a> </li>
<li><a href="http://www.brenspeed.com"><img src="images/bren.png" alt="Brenspeed Custom Tuning" width="200" height="82" /></a></li>
<li><a href="http://www.stage3motorsports.com"><img src="images/stage.png" alt="Stage 3 Motorsports" width="200" height="73" /></a></li>
<li><a href="http://www.chicanesport.com"><img src="images/chic.png" alt="Chicane Sport Tuning" width="200" height="81" /></a></li>
<li><a href="http://www.spencerperformance.com"><img src="images/spen.png" alt="Spencer Performance" width="200" height="94" /></a></li>
</ul>
</div>
</div>
<br class="clearFloat" />
</div>
</div>
</div>
<div id="footer"><img src="http://www.justdreamweaver.com/templates/link/spacer.gif" alt="" width="1" height="1" />Copyright © 2008 MoSaleen Performance, LLC <br />
<a href="#">Site Map</a> | <a href="#">Privacy Policy</a> |
Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></div>
</body>
<!-- InstanceEnd --></html>
Similar Messages
-
I am using iWeb '08 2.0.4 to create a web page...since I will not be able to publish to Mobileme I am trying to publish to another server...I keep getting this error message " Parse error: syntax error, unexpected T_STRING" I have no idea what to do???? Any Suggestions?
This is to do with the .htaccess file on your server.
You either need to deal with this and open it with an html editor or change your web host.
Do a search of this forum and there are plenty of posts that relate to parse error and .htaccess pages. Have a look on the right hand side of this post and you will see similar ones like yours. -
Hi all,
I'm getting the following error when I try to include a jsp file within another jsp file.
javax.servlet.ServletException: Parse Error in JSP page: The include directive on line 14 The JSP page null's depedency '1' could not be found.
Could someone help me understand what's causing this error?
Thanks,
Lima<%@ include file="/includes/head.jsp" %>
<%@ include file="/includes/Detail.jsp" %>
<%@ include file="/includes/foot.jsp" %> -
MM_XSLTransform error every time in PHP page
When I apply an XSL Transformation to a PHP page, the page
displays with an MM_XSLTransform error saying the XML file is not a
valid XML document -- even though it absolutely
is valid XML. This is totally reproducable.
Here's a simple example:
library.xml:
<?xml version="1.0" encoding="iso-8859-1"?>
<library>
<owner>Mister Reader</owner>
<book>
<isbn>1-2345-6789-0</isbn>
<title>All About XML</title>
<author>John Doe</author>
<language>English</language>
<price currency="usd">24.95</price>
</book>
<book>
<isbn>9-8765-4321-0</isbn>
<title>CSS Made Simple</title>
<author>Jane Smith</author>
<language>English</language>
<price currency="usd">19.95</price>
</book>
</library>
library.xsl:
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="iso-8859-1"/>
<xsl:template match="/">
<h1><xsl:value-of select="library/owner"/>'s
Library</h1>
<xsl:for-each select="library/book">
<p><em><xsl:value-of
select="title"/></em>
by <xsl:value-of select="author"/>
(ISBN <xsl:value-of select="isbn"/>)</p>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
library.php:
<?php
//XMLXSL Transformation class
require_once('includes/MM_XSLTransform/MM_XSLTransform.class.php');
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<?php
$mm_xsl = new MM_XSLTransform();
$mm_xsl->setXML("library.xml");
$mm_xsl->setXSL("library.xsl");
echo $mm_xsl->Transform();
?>
</body>
</html>
When viewing the file library.php, the following error is
displayed in the browser, followed by the raw XML:
library.xml is not a valid XML document.
Non-static method DOMDocument::loadXML() should not be called
statically, assuming $this from incompatible context in file
library.xml.
I wonder whether there is a problem with the include file
MM_XSLTransform, version 0.6.2. Since that include file begins with
a "TODO" note from the programmer, I wonder whether it's not quite
release-ready.
Anyone else having this problem?
Environment:
- Testing Server on localhost
- Windows XP Pro SP2
- Dreamweaver 8.0.2
- PHP 5.1.4
- MySQL 5.0.2.1
- PHP MyAdmin 2.8.1Jon9999 wrote:
> I wonder whether there is a problem with the include
file MM_XSLTransform,
> version 0.6.2. Since that include file begins with a
"TODO" note from the
> programmer, I wonder whether it's not quite
release-ready.
It was release-ready. It worked fine in PHP 5.0, but changes
in PHP
5.1.4 caused it to break. As I understand, Adobe is preparing
a PHP
hotfix that solves several problems caused by the 8.0.2
updater. It also
fixes this one.
In the meantime, you can easily hand fix it yourself.
Comment out line 301, which looks like this:
$xml = DOMDocument::loadXML($content);
Then insert the following two new lines immediately below:
$doc = new DOMDocument();
$err = $doc->loadXML($content);
The rest of the script then continues with this:
restore_error_handler();
So, when you have finished, lines 301-304 will look like
this:
//$xml = DOMDocument::loadXML($content);
$doc = new DOMDocument();
$err = $doc->loadXML($content);
restore_error_handler();
Just in case you're interested in what the problem was: line
301 uses
loadXML() as a static method of the DOMDocument class. As of
PHP 5.1.4,
this isn't allowed. The substitute lines create a DOMDocument
object,
and then call the method on the new object.
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Error ORA-06550, PLS-00103 in procedure launched by php page
Hi,
I have written a php page that calls a pl/sql procedure. When I launch the procedure (through the php) I receive this error
Warning: ociexecute(): OCIStmtExecute: ORA-06550: line 1, column 101: PLS-00103: Encountered the symbol "" when expecting one of the following: ( - + case mod new not null others <an identifier> <a double-quoted delimited-identifier> <a bind variable> avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date <a string literal with character set specification> <a number> <a single-quoted SQL string> pipe <an alternatively-quoted string literal with character set specifi in /web/findb/php/fin/SPR/nuoveEmissioni/nuoveEmissioni.class.php on line 918
bool(false) The php code that calls the procedure is the following:
$query = " declare retU number; begin ";
$query .= " retU := pkg_schedapr.UPDATE_SPR_STATUS( :isinU, :utente, :emissione_f,
:azione_f, :fondo_f, :emittenteU_f, :rischioU_f, :varU_f,
:formulaU_f, :profiloU_f); ";
$query .= ":retU_val := retU; ";
$query .= "end;";
$stmtUpdate = ociparse ($this->conn,$query);
if (!$stmtUpdate) die (var_dump(OCIError()));
ociBindByName($stmtUpdate, ":isinU", $isin_t, 12);
ociBindByName($stmtUpdate, ":utente", $userName, 20);
ociBindByName($stmtUpdate, ":emissione_f", $mod_bond, 1);
ociBindByName($stmtUpdate, ":azione_f", $mod_azione, 1);
ociBindByName($stmtUpdate, ":fondo_f", $mod_fondo, 1);
ociBindByName($stmtUpdate, ":emittenteU_f", $mod_emittente, 1);
ociBindByName($stmtUpdate, ":rischioU_f", $mod_rischio, 1);
ociBindByName($stmtUpdate, ":varU_f", $mod_var, 1);
ociBindByName($stmtUpdate, ":formulaU_f", $mod_formula, 1);
ociBindByName($stmtUpdate, ":profiloU_f", $mod_profilo, 1);
ociBindByName($stmtUpdate, ":retU_val", $retU_val, 1);
$err=OCIExecute($stmtUpdate);
if (!$err) die (var_dump(OCIError()));
ocifreestatement($stmtUpdate); The pl/sql procedure is the following:
function UPDATE_SPR_STATUS(isin_p in varchar2, utente in varchar2, mercato in varchar2,
emissione_p in number, azione_p in number, fondo_p in number, emittente_p in number,
rischio_p in number, var_p in number, formula_p in number, mercato_p in number,
profilo_p in number) return number
is
control number;
modificato number;
SQL_QUERY VARCHAR2(4000);
TYPE MOD_SUM IS REF CURSOR;
SUMM MOD_SUM;
TYPE MOD_SUM_ROW
IS RECORD(
EMISSIONE VARCHAR2(1),
AZIONE VARCHAR2(1),
FONDO VARCHAR2(1),
EMITTENTE VARCHAR2(1),
RISCHIO VARCHAR2(1),
VAR VARCHAR2(1),
FORMULA VARCHAR2(1),
PROFILO VARCHAR2(1)
MODIFICHE MOD_SUM_ROW;
EMS VARCHAR2(1);
AZI VARCHAR2(1);
FON VARCHAR2(1);
EMT VARCHAR2(1);
RSK VARCHAR2(1);
VAR VARCHAR2(1);
FRM VARCHAR2(1);
PRF VARCHAR2(1);
MKT VARCHAR(1);
begin
modificato := emissione_p + azione_p + fondo_p + emittente_p + rischio_p
+ var_p + formula_p + mercato_p + profilo_p;
select count(*)
into control
from spr_web_nuove_emissioni a
where a.ISIN=isin_p
AND A.END_DATE IS NULL;
if control > 0
then
update spr_web_nuove_emissioni a
set a.END_DATE=sysdate
where a.ISIN=isin_p
AND A.END_DATE IS NULL;
SQL_QUERY := 'SELECT A.EMISSIONE, A.AZIONE, A.FONDO, A.EMITTENTE,
A.RISCHIO, A.VAR, A.FORMULA,
A.PROFILO
FROM SPR_WEB_NUOVE_EMISSIONI A
WHERE A.ISIN='''||isin_p||' AND A.END_DATE=TRUNC(SYSDATE)';
OPEN SUMM FOR SQL_QUERY;
LOOP
FETCH SUMM INTO MODIFICHE;
EXIT WHEN SUMM%NOTFOUND;
if emissione_p < 1 THEN
EMS := MODIFICHE.EMISSIONE;
ELSE
EMS := 'Y';
end if;
if azione_p < 1 THEN
AZI := MODIFICHE.AZIONE;
ELSE
AZI := 'Y';
end if;
if fondo_p < 1 THEN
FON := MODIFICHE.FONDO;
ELSE
FON := 'Y';
end if;
if emittente_p < 1 THEN
EMT := MODIFICHE.EMITTENTE;
ELSE
EMT := 'Y';
end if;
if rischio_p < 1 THEN
RSK := MODIFICHE.RISCHIO;
ELSE
RSK := 'Y';
end if;
if var_p < 1 THEN
VAR := MODIFICHE.VAR;
ELSE
VAR := 'Y';
end if;
if formula_p < 1 THEN
FRM := MODIFICHE.FORMULA;
ELSE
FRM := 'Y';
end if;
if profilo_p < 1 THEN
PRF := MODIFICHE.PROFILO;
ELSE
PRF := 'Y';
end if;
END LOOP;
CLOSE SUMM;
ELSE
if emissione_p < 1 THEN
EMS := 'N';
ELSE
EMS := 'Y';
end if;
if azione_p < 1 THEN
AZI := 'N';
ELSE
AZI := 'Y';
end if;
if fondo_p < 1 THEN
FON := 'N';
ELSE
FON := 'Y';
end if;
if emittente_p < 1 THEN
EMT := 'N';
ELSE
EMT := 'Y';
end if;
if rischio_p < 1 THEN
RSK := 'N';
ELSE
RSK := 'Y';
end if;
if var_p < 1 THEN
VAR := 'N';
ELSE
VAR := 'Y';
end if;
if formula_p < 1 THEN
FRM := 'N';
ELSE
FRM := 'Y';
end if;
if profilo_p < 1 THEN
PRF := 'N';
ELSE
PRF := 'Y';
end if;
end if;
insert into spr_web_nuove_emissioni
values (isin_p, sysdate, utente, EMS, AZI, FON, EMT,
RSK, VAR, FRM, PRF,
SYSDATE, NULL);
begin
update spr_status a
set a.VALIDATED='Y'
where a.ISIN=isin_p
AND A.MARKET=mercato;
if modificato > 0
then
update spr_status a
set a.USER_CHANGE='Y', a.USER_LAST_MODIFIED=sysdate
where a.ISIN=isin_p and a.MARKET=mercato;
end if;
exception
when others then
dbms_output.put_line('ERROR in <PKG_SCHEDAPR.UPDATE_SPR_STATUS> Aggiornamento stato ' ||SQLCODE||'-'||SQLERRM);
return 1;
end;
commit;
return 0;
end UPDATE_SPR_STATUS;I do not succed to understand the error I receive, why? Where is the error?
Can someone help me?
Thanks, bye bye.Hi,
I have changed the php code in this way:
$query = " declare retU number; begin ";
$query .= " retU := pkg_schedapr.UPDATE_SPR_STATUS(:isinU, :utente, :emissione_f, ";
$query .= ":azione_f, :fondo_f, :emittenteU_f, :rischioU_f, :varU_f, ";
$query .= ":formulaU_f, :profiloU_f); ";
$query .= ":retU_val := retU; ";
$query .= "end;";
$stmtUpdate = ociparse ($this->conn,$query);
if (!$stmtUpdate) die (var_dump(OCIError()));
ociBindByName($stmtUpdate, ":isinU", $isin_t, 12);
ociBindByName($stmtUpdate, ":utente", $userName, 20);
ociBindByName($stmtUpdate, ":emissione_f", $mod_bond, 1);
ociBindByName($stmtUpdate, ":azione_f", $mod_azione, 1);
ociBindByName($stmtUpdate, ":fondo_f", $mod_fondo, 1);
ociBindByName($stmtUpdate, ":emittenteU_f", $mod_emittente, 1);
ociBindByName($stmtUpdate, ":rischioU_f", $mod_rischio, 1);
ociBindByName($stmtUpdate, ":varU_f", $mod_var, 1);
ociBindByName($stmtUpdate, ":formulaU_f", $mod_formula, 1);
ociBindByName($stmtUpdate, ":profiloU_f", $mod_profilo, 1);
ociBindByName($stmtUpdate, ":retU_val", $retU_val, 1);
echo "$isin_t--";echo "$userName--"; echo"$mod_bond--";
echo "$mod_azione--";echo "$mod_fondo--"; echo"$mod_emittente--";
echo "$mod_rischio--";echo "$mod_var--"; echo"$mod_formula--";
echo "$mod_profilo--";echo "$retU_val";
echo "$query";
$err=OCIExecute($stmtUpdate);
if (!$err) die (var_dump(OCIError()));
ocifreestatement($stmtUpdate); and now I receive this error:
Warning: ociexecute(): OCIStmtExecute: ORA-01756: quoted string not properly terminated ORA-06512: at "FIN.PKG_SCHEDAPR", line 6420 ORA-06512: at line 1 in /web/findb/php/fin/SPR/nuoveEmissioni/nuoveEmissioni.class.php on line 918
bool(false) But I do not understand the cause of the error.
How can I solve?
Thanks, bye bye. -
ADF page breaks on refresh. XML parsing error
Hi all,
One of my jspx page breaks when the browser 'refresh' button is clicked.
The error is the same but worded differently on different browsers.
A snippet
FF
XML Parsing Error: mismatched tag. Expected: </link>.
Location: https://xxxxx
Line Number 85, Column 21:Chrome
This page contains the following errors:
error on line 85 at column 26: Opening and ending tag mismatch: link line 0 and head
Below is a rendering of the page up to the first error.I'm passing parameters to this page with setPropertyListener, but I do the same for my other pages, all of which do not crash on refresh.
Click on some link on this page then use the browser 'Back' button will not cause this error. Only 'refresh' is not working.
Any ideas? Thanks in advance.Hi,
Its close to impossible to guess without any information / code snippet.
1. What is your JDev version?
2. Which tag causes this issue? (What is there in Line Number 85, Column 21:?)
3. Have you tried to simulate the same behavior in a simple application with only one page?
-Arun -
I have recently upgraded our Choir's website, and used iWeb to create the upgrade. It was previously done with other software.
Now, when I go to the site, (comc.ca), the first page comes up fine, but when I click on the links to other pages, I get this message.....
Parse error: syntax error, unexpected T_STRING in /var/www/virtual/comc.ca/htdocs/Site_3/Contact_Us.html on line 1
I went to an Apple store, (I still have time left on my one-to-one period), but didn't get an answer.
Any suggestions really appreciated.
Thanks,
LarrySorry, but it doesn't help JTANNA.
What is your definition of "more efficiently"? If it's limitation of search results, branded search, and limitation of styling your results then google search is more efficient. Real developers rely on their own developments. For example: how can google search display results from a password-protected site? They can't.
best,
Shocker -
Parsing Error: Unexpected $ at the end of PHP file
I have been programming in PHP for about 6 months now and this is a first for me.
I have created a FTP upload PHP file and I keep getting this parsing error no matter what I do !?
Parse error: parse error, unexpected $ in ................................./html/upload_video.php on line 183
The only thing I have on line 183 is ?> The end of my PHP file. I've spent 2 hours trying to get rid of this problem.
HELP ! Any help would be greatly appreciated !You are right and very sarcastic at the same time. My bad....however, I figured out the problem, I did not close out my mysql connection and I had an extra if "}" at the end of my code.
-
Hello,
I have to maintain a SharePoint 2010 project, in which a TopNavigation User Control for SiteCollection is registered in the MasterPage in this way:
<%@ Register TagPrefix="ABC" TagName="TopNavigation" src="~/_layouts/ABCApplication/MainSite/Navigation/TopNavigation.ascx" %>
<asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server">
<asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">
<ABC:TopNavigation ID="TopNavi" XMLDataLocation="/_layouts/ABCApplicatopm/MainSite/TopNavigation.xml" IsRoot="true"
runat="server" />
</asp:ContentPlaceHolder>
</asp:ContentPlaceHolder>
When I deploy the SiteCollection, the TopNavigation user control is working correctly. Unfortunately when i modify the masterpage over SharePoint Designer, the following error message comes allways, regardless of the art of changes i did in the MAsterPage
( even if I open the MasterPage, add an space and do save/close the MasterPage).
"Problem when adding user control in my custom master page, Parser Error Message: The referenced file '/_layouts/Navigation/TopNavigation.ascx' is not allowed on this page."
Any ideas?Hi Simon,
When we use UserControl in SharePoint Page or MasterPage, and the UserControl is kept in any folder other than ControlTemplates, we will got the error. Here is an article about this issue and provided the solution:
http://sharepoint-tina.blogspot.com/2009/07/referenced-file-pathxyzascx-is-not.html
The solution can also be used in SharePoint 2010.
Qiao Wei
TechNet Community Support -
Parse error when trying to use form
When i load the PHP,form page and thank you page im getting this error when i hit send.
No email is sent from form.
Parse error: syntax error, unexpected T_STRING in /home/owendaws/public_html/owendawsonpga/contactformprocess_original_db.php on line 38
PHP page
<?
$fname = $HTTP_POST_VARS['textfield'];
$lname = $HTTP_POST_VARS['textfield2'];
$phone = $HTTP_POST_VARS['textfield3'];
$email = $HTTP_POST_VARS['textfield4'];
$address = $HTTP_POST_VARS['textfield5'];
$state = $HTTP_POST_VARS['textfield6'];
$zip = $HTTP_POST_VARS['textfield7'];
$find = $HTTP_POST_VARS['select'];
$goals = $HTTP_POST_VARS['select2'];
$practice = $HTTP_POST_VARS['select3'];
$learn = $HTTP_POST_VARS['select4'];
$handicap = $HTTP_POST_VARS['select5'];
$timeplaying = $HTTP_POST_VARS['select6'];
$lesson = $HTTP_POST_VARS['select7'];
$additional = $HTTP_POST_VARS['textfield8'];
mail('[email protected]','Owen Dawson PGA Contact Form Submission',"First Name: $fname\nLast Name: $lname\nPhone Number: $phone\nEmail: $email\nAddress: $address\nState: $state\nZip Code: $zip\nHow did you find me? $find\nWhat are your goals? $goals\nHow much can you practice? $practice\nWhat would you like to learn? $learn\nWhat is your handicap? $handicap\nHow long have you been playing golf? $timeplaying\nHave you ever taken a lesson? $lesson\nAdditional Information: $additional\n",'From: [email protected]');
header("Location: http://www.owendawsonpga.com/thankyouform.html");
?>
form page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/PGATEMPLATE3.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Golf Lessons in Baltimore Owen Dawson PGA, GOLF INSTRUCTION IN MARYLAND, GOLF LESSONS IN BALTIMORE</title>
<meta name="Keywords" content="GOLF INSTRUCTION, GOLF LESSONS IN BALTIMORE, BALTIMORE, MARYLAND, GOLF INSTRUCTION BALTIMORE,SHORT GAME,BUNKER PLAY" />
<meta name="Description" content="Golf Instruction in Baltimore Maryland" />
<!-- InstanceEndEditable -->
<link href="twoColFixRtHdr.css" rel="stylesheet" type="text/css" />
<!--[if IE 5]>
<style type="text/css">
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixRtHdr #sidebar1 { width: 220px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixRtHdr #sidebar1 { padding-top: 30px; }
.twoColFixRtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {
font-size: small
.style2 {
font-family: "Comic Sans MS", Papyrus;
font-size: small;
.style6 {font-size: smaller; font-family: "Comic Sans MS", Papyrus; }
.style7 {font-family: "Comic Sans MS", Papyrus}
.style8 {
color: #0000FF;
font-family: Georgia, "Times New Roman", Times, serif;
a:link {
text-decoration: none;
color: #000000;
background-color: #EBEBEB;
a:visited {
text-decoration: none;
color: #000000;
a:hover {
text-decoration: none;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
border-top-color: #001EF1;
border-right-color: #001EF1;
border-bottom-color: #001EF1;
border-left-color: #001EF1;
color: #000000;
background-color: #EBEBEB;
a:active {
text-decoration: none;
.style9 {font-family: Georgia, "Times New Roman", Times, serif}
.style10 {font-family: Georgia, "Times New Roman", Times, serif; font-size: small; }
.style11 {color: #000000}
.style12 {
font-family: Georgia, "Times New Roman", Times, serif;
color: #FF0000;
font-weight: bold;
.style13 {color: #FF0000}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript">
function submitForm(){
var myform = document.getElementById('form1');
var fname = document.getElementById('textfield');
var lname = document.getElementById('textfield2');
var phone = document.getElementById('textfield3');
if (fname.value == ''){
alert('First name is a required field. Please enter your first name to continue.');
fname.focus();
return false;
if (lname.value == ''){
alert('Last name is a required field. Please enter your last name to continue.');
fname.focus();
return false;
if (phone.value == ''){
alert('Phone number is a required field. Please enter your preferred phone number to continue.');
fname.focus();
return false;
myform.submit();
function messageSent(){
var status = document.getElementById('msg');
status.innerHTML = 'Message sent successfully.';
</script>
<!-- InstanceEndEditable -->
</head>
<body class="twoColFixRtHdr">
<div id="container">
<div id="header">
<h1><img src="photos/newpgabannerfinal3_2_10.png" width="739" height="210" /></h1>
<!-- InstanceBeginEditable name="EditRegion4" -->
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="V1Login.html" class="style1">V1 Student Videos</a></li>
<li><a href="Private_Lessons.html" class="style1">Private Lessons</a></li>
<li><a href="Clinics.html" class="style1">Clinics</a></li>
<li><a href="Gift_Certificates.html" class="style1">Gift Certificates</a></li>
<li><a href="Instructional_Video.html" class="style1">Instructional Video</a></li>
<li><a href="mailto:[email protected]" class="style1">Contact Owen</a></li>
</ul>
<!-- InstanceEndEditable -->
<p align="center"> </p>
<!-- end #header --></div>
<div id="sidebar1">
<p class="style12"><a href="newfor2010.html" class="style13">New V1 Swing Analysis Software for 2010</a></p>
<p class="style7"><a href="contactformprocess_original_db.html">Instructional Form </a></p>
<p class="style7"><span class="style9"><span class="style9"><a href="Sample_Lesson.html">Sample Lesson</a></span></span></p>
<p class="style9"><a href="http://www.youtube.com/user/owenpga" target="_blank">Video tutorials</a></p>
<p class="style9"><a href="http://owendawsonpga.blogspot.com" target="_blank">Instructional Blog</a></p>
<p class="style7 style8"><a href="PGAPHOTOGALLERY/index.html" target="_blank" class="style9">Photo Gallery</a></p>
<p class="style7 style8 style11"><a href="Instructional_Video.html">Intructional Video</a></p>
<p class="style7 style8"> </p>
<p class="style10">Testimonials</p>
<p class="style6 style9">“I have been working with Owen Dawson for the past 7 years. During that time my swing has dramatically changed and improved. This has happened through Owen's drills and use of video. It is because of these techniques, that I understand how to hit good shots but just as importantly why I hit a shot poorly. I’m glad I’ve had the opportunity to work with Owen and would highly recommend him. ” <strong>Sam Young - Country Club of Maryland - 2009 Men's Club Champion </strong></p>
<p class="style2">.............................................</p>
<p class="style6 style9">“Owen does two things particularly well, in my opinion. First, he is a master of recording technology, and it really helps me to see what I need correcting, and what the new move needs to be. Second, Owen knows what the best next step should be in your own journey to a better swing. I have taken one or two lessons from Owen each year for the last three or four years – one relatively small step at a time, and then worked on grooving that step. In that period, my index has dropped about 8 strokes, and in 2007 I won the Club’s “Most Improved Player” award. Kudos to Owen!”</p>
<p class="style6 style9"><strong>Bill Smillie -CCofMD</strong></p>
<h3 class="style2"><a href="Testimonials.html">Read other testimonials </a></h3>
<!-- end #sidebar1 -->
</div>
<!-- InstanceBeginEditable name="MAINCONTENT" -->
<div id="mainContent">
<form action="contactformprocess_original_db.php" method="post" enctype="multipart/form-data" name="form1" id="form1" target="ifr">
<p class="style5">Name</p>
<p>
<label for="textfield"><span class="style5">First</span></label>
<input type="text" name="textfield" id="textfield" />
</p>
<p>
<label for="textfield2"><span class="style5">Last</span></label>
<input type="text" name="textfield2" id="textfield2" />
</p>
<p><span class="style5">Phone number
<label>
<input type="text" name="textfield3" id="textfield3" />
</label>
</span></p>
<p><span class="style5">Email</span>
<label>
<input type="text" name="textfield4" id="textfield4" />
</label>
</p>
<p><span class="style5">Address
<label>
<input type="text" name="textfield5" id="textfield5" />
</label>
</span></p>
<p><span class="style5">State</span>
<label>
<input type="text" name="textfield6" id="textfield6" />
</label>
</p>
<p><span class="style5">Zip Code</span>
<label>
<input type="text" name="textfield7" id="textfield7" />
</label>
</p>
<p><span class="style5">How did you find me?</span>
<label for="select"></label>
<select name="select" id="select">
<option value="internet">Internet Search</option>
<option value="friend referral">Friend Referral</option>
<option value="ccmdsite">Country Club of MD website</option>
<option value="other">Other</option>
</select>
</p>
<p><span class="style5">What are your golfing goals?</span>
<select name="select2" id="select2">
<option value="break 100">Break 100</option>
<option value="break 90">Break 90</option>
<option value="break 80">Break 80</option>
<option value="stop slice">Stop Slicing the Ball</option>
<option value="stop hook">Stop Hooking the Ball</option>
<option value="Compete">Compete in local tournaments</option>
<option value="More Consistant">Hit more consistant shots</option>
</select>
</p>
<p><span class="style5">How much can you practice?</span>
<label for="select3"></label>
<select name="select3" id="select3">
<option value="1 hour">1 hour</option>
<option value="2 hours">2 hours</option>
<option value="3 hours">3 hours </option>
<option value="> 3 hours">More than 3 hours a week</option>
</select>
</p>
<p><span class="style5">What would you like to learn?</span>
<label for="select4"></label>
<select name="select4" id="select4">
<option value="full swing">Full Swing Mechanics Irons</option>
<option value="driver swing">Full Swing Mechanics Driver</option>
<option value="short pitches">Short Pitch Shots inside of 50 yards</option>
<option value="bunker play">Bunker Play</option>
<option value="chipping">Chipping</option>
<option value="short shots">Short shots from rough</option>
</select>
</p>
<p class="style5">What is your Handicap?<label for="select5"></label>
<select name="select5" id="select5">
<option value="scratch to 5">Scratch - 5 HDCP</option>
<option value="6 to 10">6 - 10 HDCP</option>
<option value="11 to 15">11 - 15 HDCP</option>
<option value="15 to 20">15 - 20 HDCP</option>
<option value="> 21">21 and Higher</option>
</select>
</p>
<p class="style5">How long have you been playing?
<label for="select6"></label>
<select name="select6" id="select6">
<option value="beginner">Beginner</option>
<option value="2 to 5 years">2-5 yrs</option>
<option value="6 to 10 years">6-10 yrs</option>
<option value="11 to 15 years">11-15yrs</option>
<option value="> 15 years">More than 15 years</option>
</select>
</p>
<p class="style5">Have you ever had a lesson?
<label for="select7"></label>
<select name="select7" id="select7">
<option value="yes">YES</option>
<option value="no">NO</option>
</select>
</p>
<p class="style5">Additional Information
<label>
<textarea name="textfield8" cols="40" id="textfield8"></textarea>
</label>
</p>
<p class="style5">
<label for="button"></label>
<input type="submit" name="Submit" id="button" value="Submit"onclick="submitForm()" />
</p>
<p class="style5"> </p>
<div id="msg" style="font: bold 12px arial"></div>
</form>
<p align="center" class="style8"><br />
</p>
<p class="style8"> </p>
<p class="style8"> </p>
<p class="style8 style12"><strong><br />
</strong></p>
<p align="left"> </p>
<h1> </h1>
<!-- end #mainContent -->
</div>
<!-- InstanceEndEditable -->
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
<br class="clearfloat" />
<div id="footer">
<p align="center"><a href="http://www.v1golf.com" target="_blank"><img src="photos/GAW.png" width="163" height="60" hspace="20" border="0" /><img src="photos/logo.png" width="80" height="76" hspace="40" border="0" /></a><a href="http://www.owendawsonphotography.com" target="_blank"><img src="photos/ody.png" width="199" height="59" border="0" /></a></p>
<h2 align="center" class="style6">©Owen Dawson P.G.A. ™ All rights reserved</h2>
<!-- end #footer -->
</div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
<!-- InstanceEnd --></html>
thank you page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
Thank you for fill out my lesson form. I will be in touch with you shortly. Owen
</body>
</html>Your PHP script is not secured at all. I would recommend using Forms To Go (http://www.bebosoft.com/products/formstogo/overview) to create the PHP script.
The unregistered version can be used for free. It will get you up and running in no time.
In your HTML form,remove enctype="multipart/form-data" from this:
<form action="contactformprocess_original_db.php" method="post" enctype="multipart/form-data" name="form1" id="form1" target="ifr">
enctype="multipart/form-data" is only required if you have a file upload field in the form. -
Hello there,
I'm doing a search and results page for my DB, I did the recordset on the results page and the form on the search page as explained in the DW's Docs but when I try a search I get this error:
Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /hermes/web05/b797/pow.jntservices/htdocs/results.php on line 33
Being line 33:
$ciudades_rsSearch = "ciudadsrch";
if (isset(ciudadsrch)) {
$ciudades_rsSearch = ciudadsrch;
$tipos_rsSearch = "tiposrch";
if (isset(tiposrch)) {
$tipos_rsSearch = tiposrch;
Anyone has an idea?Nevermind, sorry for the post...the problem was the return value was not correct...
Thanks anyways -
Urgent help needed please, with parse error message
Hi. I've got a page which comes at the end of a 3 page sequence - search, results, detail. The detail page had been working fine, but yesterday I added a second recordset to the page, to pull reviews from a separate table, and now I'm getting the following error:
Parse error: syntax error, unexpected ')', expecting T_STRING or T_VARIABLE or '$' in /Applications/MAMP/htdocs/goodvetguide/practice_Detail.php on line 78
(should point out that I'm using DMW8 on a Mac and testing locally using MAMP as my testing server).
line 78 is:
if (isset()) {
$Parampractice_id_WADApracticelist = (get_magic_quotes_gpc()) ? : addslashes();
and the full code for the page is posted below. I've googled this error and found a variety of different reasons for why this might be happening but none of the examples I've seen appear to apply to my case, so I'd really appreciate any assistance anyone can offer with this. Thanks in advance.
Page code:
<?php require_once('Connections/connGVG.php'); ?>
<?php require_once('Connections/connGVG.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
?><?php
if (!session_id()) session_start();
?>
<?php
$Parampractice_WADApracticelist = "-1";
if (isset($_GET['practice_id'])) {
$Parampractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_GET['practice_id'] : addslashes($_GET['practice_id']);
$ParamSessionpractice_WADApracticelist = "-1";
if (isset($_SESSION['WADA_Insert_practicelist'])) {
$ParamSessionpractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_SESSION['WADA_Insert_practicelist'] : addslashes($_SESSION['WADA_Insert_practicelist']);
$Parampractice_WADApracticelist = "-1";
if (isset($_GET['practice_id'])) {
$Parampractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_GET['practice_id'] : addslashes($_GET['practice_id']);
$Parampractice_id_WADApracticelist = "-1";
if (isset()) {
$Parampractice_id_WADApracticelist = (get_magic_quotes_gpc()) ? : addslashes();
$Parampractice_id2_WADApracticelist = "-1";
if (isset()) {
$Parampractice_id2_WADApracticelist = (get_magic_quotes_gpc()) ? : addslashes();
$ParamSessionpractice_id_WADApracticelist = "-1";
if (isset()) {
$ParamSessionpractice_id_WADApracticelist = (get_magic_quotes_gpc()) ? : addslashes();
mysql_select_db($database_connGVG, $connGVG);
$query_WADApracticelist = sprintf("SELECT practice_id, practicename, address1, address2, address3, address4, postcode, location, practicewebsite, practicetype, starrating FROM practicelist WHERE practice_id = %s OR ( -1= %s AND practice_id= %s)", GetSQLValueString($Parampractice_id_WADApracticelist, ""),GetSQLValueString($Parampractice_id2_WADApracticelist, ""),GetSQLValueString($ParamSessionpractice_id_WADApracticelist, ""));
$WADApracticelist = mysql_query($query_WADApracticelist, $connGVG) or die(mysql_error());
$row_WADApracticelist = mysql_fetch_assoc($WADApracticelist);
$totalRows_WADApracticelist = mysql_num_rows($WADApracticelist);
$colname_rsReviews = "-1";
if (isset($_GET['WADALocation'])) {
$colname_rsReviews = (get_magic_quotes_gpc()) ? $_GET['WADALocation'] : addslashes($_GET['WADALocation']);
mysql_select_db($database_connGVG, $connGVG);
$query_rsReviews = sprintf("SELECT * FROM reviews WHERE practice_id = %s", GetSQLValueString($colname_rsReviews, "int"));
$rsReviews = mysql_query($query_rsReviews, $connGVG) or die(mysql_error());
$row_rsReviews = mysql_fetch_assoc($rsReviews);
$totalRows_rsReviews = mysql_num_rows($rsReviews);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Details practicelist</title>
<style type="text/css">
<!--
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="WA_DataAssist/styles/Refined_Pacifica.css" rel="stylesheet" type="text/css" />
<link href="WA_DataAssist/styles/Arial.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/* Details page CSS */
.WADADetailsContainer {
font-size: 11px;
#WADADetails {
padding-top: 10px;
</style>
</head>
<body>
<div id="wrapper">
<div id="header"></div>
<div id="content">
<div id="menu">
<a href="addreview.html">Add review</a> <a href="contact.html">Contact</a> <a href="terms.html">Terms</a> <a href="practice_Search.php">Search</a> <a href="about.html">About </a><a href="index.html">Home </a></div>
<div id="contentleft2">
<div id="greenpiccont"></div>
<div id="cright">
<div class="boldwhite" id="rightblue">Review your vet<br />
<br />
<span class="smallbold">Tell us your experience</span><br />
<br />
<span class="smallwhite">Give people information<br />
on your experiences so <br />
that they can make an<br />
informed decision.</span><br />
<div id="startbutton"><a href="#">Start</a></div>
</div>
<div id="bluemap2"></div>
<div id="searchbox">
<table width="202" border="0" cellspacing="0">
<tr>
<th scope="row"><div align="left" class="smalltext">Search by postcode</div></th>
</tr>
<tr>
<th height="31" scope="row"><input name="Name" class="Width250px" /></th>
</tr>
<tr>
<th scope="row"><div align="left" class="smalltext">Miles</div></th>
</tr>
<tr>
<th height="39" scope="row"><div align="left">
<input name="Name2" class="Width250px" />
</div></th>
</tr>
</table>
</div>
</div>
<div class="about10" id="contl">Practice details<br />
<div class="WADADetailsContainer"> <a name="top"></a>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<?php if ($totalRows_WADApracticelist > 0) { // Show if recordset not empty ?>
<div id="WADADetails">
<table class="WADADataTable" cellpadding="0" cellspacing="0" border="0">
<tr>
<th class="WADADataTableHeader">Practice name:</th>
<td class="WADADataTableCell"><strong><?php echo($row_WADApracticelist['practicename']); ?></strong></td>
</tr>
<tr>
<th class="WADADataTableHeader">Practice type:</th>
<td class="WADADataTableCell"><?php echo($row_WADApracticelist['practicetype']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader">Address:</th>
<td class="WADADataTableCell"><?php echo($row_WADApracticelist['address1']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader"> </th>
<td class="WADADataTableCell"><?php echo($row_WADApracticelist['address2']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader"> </th>
<td class="WADADataTableCell"><?php echo($row_WADApracticelist['address3']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader"> </th>
<td class="WADADataTableCell"><?php echo($row_WADApracticelist['address4']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader">Postcode:</th>
<td class="WADADataTableCell"><?php echo($row_WADApracticelist['postcode']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader">Location:</th>
<td class="WADADataTableCell"><?php echo($row_WADApracticelist['location']); ?></td>
</tr>
<tr>
<th class="WADADataTableHeader">Website:</th>
<td class="WADADataTableCell"><a href="http://www.<?php echo $row_WADApracticelist['practicewebsite']; ?>" target="_blank"><?php echo($row_WADApracticelist['practicewebsite']); ?></a></td>
</tr>
<tr>
<th class="WADADataTableHeader">Star rating:</th>
<td class="WADADataTableCell"><?php echo($row_WADApracticelist['starrating']); ?></td>
</tr>
</table>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<div class="WADAButtonRow">
<table class="WADADataNavButtons" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="WADADataNavButtonCell" nowrap="nowrap"></td>
<td class="WADADataNavButtonCell" nowrap="nowrap"></td>
<td class="WADADataNavButtonCell" nowrap="nowrap"><a href="practice_Results.php" title="Results"><img border="0" name="Results" id="Results" alt="Results" src="WA_DataAssist/images/Pacifica/Refined_results.gif" /></a></td>
</tr>
</table>
</div>
</div>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADApracticelist == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">No record found.</div>
</div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<div class="WADADetailsLinkArea">
<div class="WADADataNavButtonCell"><a href="practice_Results.php" title="Results"><img border="0" name="Results1" id="Results1" alt="Results" src="WA_DataAssist/images/Pacifica/Refined_results.gif" /></a></div>
</div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div><p><strong>Reviews for this practice:</strong></p>
<?php do { ?>
<table width="100%" border="0" cellspacing="5" cellpadding="2">
<tr>
<td width="23%"> </td>
<td width="77%"><?php echo $row_rsReviews['comments']; ?></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
<?php } while ($row_WADApracticelist = mysql_fetch_assoc($WADApracticelist)); ?>
<?php } // Show if recordset empty ?>
</div>
</div>
</div>
<div id="contentright">
<p> </p>
</div>
</div>
<div class="clr"></div>
<div id="footer">hj</div>
</div>
</body>
</html>
<?php
mysql_free_result($WADApracticelist);
mysql_free_result($rsReviews);
?>I haven't studied your code in detail, but it looks very much as though you have been editing the page without properly removing server behaviors through the Server Behaviors panel. Look at the following section:
<?php require_once('Connections/connGVG.php'); ?>
<?php require_once('Connections/connGVG.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
?>
You have the connection file attached twice, and the GetSQLValueString() function is defined twice. However, the cause of all your problems lies here:
$Parampractice_WADApracticelist = "-1";if (isset($_GET['practice_id'])) {
$Parampractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_GET['practice_id'] : addslashes($_GET['practice_id']);
$ParamSessionpractice_WADApracticelist = "-1";
if (isset($_SESSION['WADA_Insert_practicelist'])) {
$ParamSessionpractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_SESSION['WADA_Insert_practicelist'] : addslashes($_SESSION['WADA_Insert_practicelist']);
$Parampractice_WADApracticelist = "-1";
if (isset($_GET['practice_id'])) {
$Parampractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_GET['practice_id'] : addslashes($_GET['practice_id']);
$Parampractice_id_WADApracticelist = "-1";
if (isset()) {
$Parampractice_id_WADApracticelist = (get_magic_quotes_gpc()) ? : addslashes();
$Parampractice_id2_WADApracticelist = "-1";
if (isset()) {
$Parampractice_id2_WADApracticelist = (get_magic_quotes_gpc()) ? : addslashes();
$ParamSessionpractice_id_WADApracticelist = "-1";
if (isset()) {
$ParamSessionpractice_id_WADApracticelist = (get_magic_quotes_gpc()) ? : addslashes();
mysql_select_db($database_connGVG, $connGVG);
Look how many times the same code is repeated. What's causing the problem are the three final sections where there is no argument passed to isset().
Delete the code highlighted in red. -
Gulp, Parse error at '- \",\"//' How do I Fix this?
Hi,
I'm trying to get Flex and OpenX to work together. Unfortunately, I get an XML parser error when viewing the site.
So, in order to recreate the problem on my local machine, I changed my function and hard-coded the ad as adReturn. I get parse error at '->\",\"//' on the line:
adReturn = adReturn.replace("//]]>->","//]]>->\n");
Any ideas as to what the problem is?
Please see the function below:
public function adTest():Ad {
var xmlReturn:XML;
var adReturn:String = "var OX_28140bee = '';
OX_28140bee += "<"+"a href=\'http://www.joeblow.com/openx/www/delivery/ck.php?oaparams=2__bannerid=1__zoneid=4__cb=4249 2045be__oadest=http%3A%2F%2Fwww.joeblow.com\' target=\'_blank\'><"+"img src=\'http://www.joeblow.com/openx/www/delivery/ai.php?filename=mybanner.png&contenttype=png\' width=\'468\' height=\'60\' alt=\'\' title=\'\' border=\'0\' /><"+"/a><"+"div id=\'beacon_42492045be\' style=\'position: absolute; left: 0px; top: 0px; visibility: hidden;\'><"+"img src=\'http://www.joeblow.com/openx/www/delivery/lg.php?bannerid=1&campaignid=1&zoneid=4&loc=http %3A%2F%2Fwww.joeblow.com%2F&cb=42492045be\' width=\'0\' height=\'0\' alt=\'\' style=\'width: 0px; height: 0px;\' /><"+"/div>\n";
document.write(OX_28140bee);";
try
adReturn = adReturn.replace("//]]>->","//]]>->\n");
var infoTagsIndex:int = adReturn.indexOf('<script type="text/javascript" src=""', 0);
adReturn = adReturn.substring(infoTagsIndex, adReturn.length);
var wasFlash:Boolean = false;
if(adReturn.search("<embed") == -1) {
adReturn = adReturn.replace('></a>', '></img></a>');
adReturn = adReturn.replace('></div>', '></img></div>');
else {
adReturn = adReturn.replace('></div>\n<script','></embed></div>\n<script');
adReturn = adReturn.replace('></div>\n<noscript','></img></div>\n<noscript');
wasFlash = true;
adReturn = '<adXMLReturn>' + adReturn + '</adXMLReturn>';
xmlReturn = new XML(adReturn);
var ad:Ad;
if(wasFlash){
ad = new Ad(xmlReturn, true);
else {
ad = new Ad(xmlReturn);
catch(error:Error){
Alert.show(error.message + 'stacktrace: ' + error.getStackTrace(), "Error");
else {
Alert.show("Javascript must be enabled to view this page properly.", "Javascript Not Detected");
xmlReturn = new XML('<root>xml</root>');
trace(ad);
return ad;
Any help would be really appreciated. I'm stumped.
Thanks!
-LaxmidiI'm getting the same error as I try to upgrade from LR 4.3 to LR 5.3. Have you gotten any answers from anyone?
-
Parse errors from server behaviors
I have created an input form for a mysql/php database set up on my testing server with a set of fields in a repeat region. All the fields are properly displayed when I switch to LiveView or browser preview. I am, however, having the following problem with server behaviors:
If I add “Display Total Records” at the bottom, it displays just fine, but if I try to add the behaviors for previous page, next page, starting record number or ending record number, I get this:
Parse error: syntax error, unexpected ';' in C:\XAMPP\htdocs\LEAP\admin.php on line 81
Lines 81-84 read:
$totalPages_VolApp = ceil($totalRows_VolApp/$maxRows_VolApp = 10;
$pageNum_VolApp = 0;
if (isset($_GET['pageNum_VolApp'])) {
$pageNum_VolApp = $_GET['pageNum_VolApp'];
I also cannot switch the repeat region to “show all records.” This results in a similar syntax error.
What is a parse error? What problem is indicated? thanks.What is a parse error? What problem is indicated? thanks.
It's an error in code. The error is in the following line:
$totalPages_VolApp = ceil($totalRows_VolApp/$maxRows_VolApp = 10;
That line is nonsense in PHP terms. It has almost certainly been created as a result of not removing server behavior code correctly when making changes to a page. You can't edit PHP code simply by selecting dynamic text in Design view and deleting it. To remove a server behavior cleanly, you need to select its name in the Server Behaviors panel and click the minus button.
The code you have posted here looks so badly corrupted, I suggest you start the page again. -
Hi all, what im doing now is im trying to create a database connection my my MS SQL 2005 database. I created a data source and went to my Adobe Lifecycle Designer 7.1, i created a new data connection, selected OLEDB and created the connection string using the build function.
Ok, now the problem is, after creating the new data connection and i click on the preview tab, i will receive the error stated above.
'XML Parsing error: not well-formed (invalid token) (error code 4), line 444, column 1 of file'
Does anyone know why am i receiving this error and how do i go about solving this?
I need this database connection to pre-fill my form when the user downloads the form =(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/
Maybe you are looking for
-
Creating FRCommon system failed - in 11g Forms & Report Installation
Dear all, When installing 11g Forms and Reports "*Creating FRCommon system failed - in 11g Forms & Report Installation*". I have successfully created the weblogic server 10.3.5 , and continued with 11g forms & reports. First Installed the forms & rep
-
How do i Increase the number albums displayed in iTunes 11 currently only showing 5
How do i Increase the number albums displayed in iTunes 11 currently only showing 5 in iTunes 10 it showed ten. With only five albums showing in a line at one time it takes a long time to look at my collection. In the previous version you could alter
-
Outlook 2013 / Exchange 2010 constantly prompting for password
I as well as many users keep getting prompted for User/pass in outlook. This usually happens when I go from LAN to WIFI or from office to home. For example, If I close my laptop (not shut down) and head home then log back in and connect to my VPN I
-
until yesterday ive been able to open pdf files now when i try to open them it says i can only open powerpoint files can someone help me figure out how change it back PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
How can I find and print out all the functions of a command cmd key please?