39,320 Topics

Member Avatar for
Member Avatar for mogaka

<?php echo "<center><a href='report.php?date_range=$date_range&patient_id=$patient_id&proce_name=$proc_name> <img src='pdf.jpg' alt='Print Lab Resutl' width='32' height='32'>Print Report</a><center> </p></center>";?> I want to submit some the above parameters to the server side script for processing. However, I do dont receive the sent parameters on the server script. can somebody identify and rectify where the error is .I …

Member Avatar for IIM
0
87
Member Avatar for daniel.conlinjr.1

Addpages.php <?phpclass DivineAddPages { private function DBString($string) { return str_replace(array("''", "\\"), array("''", "\\\\"), $string); } public function Add($link, $title, $content, $comments = true) { $result = mysql_query("SELECT ID FROM wp_posts WHERE post_name = '{$this->DBString($link)}' LIMIT 1"); if ($result) { list($post_id) = mysql_fetch_row($result); } else { $post_id = 0; } $comment_status …

Member Avatar for diafol
-1
371
Member Avatar for AARTI SHRIVAS

interviewer ask me a quetion what is peer can any body tell me in terms of php what it means to peer?

Member Avatar for diafol
0
343
Member Avatar for zicomerc

Hi, I've just discovered mysql stored procedures and have been using PHP4 a few years now, but not as my day job. I can get a mysql stored procedure to execute and work in the PHP script, but I'm having problems executing multiple stored procedures. Each of them returns one …

Member Avatar for pritaeas
0
176
Member Avatar for Webville312

Hullo, I have been browsing through the internet on how best I can send an email from my website; and it seems like most were directing me to PHPMailer. I added the php mailer folder onto my server, and now am attempting to test whether am email can really be …

Member Avatar for Webville312
0
5K
Member Avatar for rexmatthew

I've been getting problems with my formula to total the deposit and price. I'm getting and error on this line $total += $total + $deposit['deposit'] * $pamount['price_status']; Here's more but only an error with the total. $prod_refid=$_REQUEST['refid']; $productsql="select * from products where prod_refid='$prod_refid'"; $resquery = @mysql_query($productsql); $resproduct_fetch=mysql_fetch_array($resquery); $image_path="products/"; $thumb_path="products/thumb/"; $product_id=$resproduct_fetch['product_id']; $prod_refid=$resproduct_fetch['prod_refid']; $product_image=$resproduct_fetch['product_image']; $product_name=$resproduct_fetch['product_name']; $prod_country=$resproduct_fetch['prod_country']; $price_range=$resproduct_fetch['price_range']; $pamount …

Member Avatar for AARTI SHRIVAS
0
245
Member Avatar for AARTI SHRIVAS

the interviwever ask me one more question about soap in php can any budy tell me what is this i am really don't know about it?

Member Avatar for AARTI SHRIVAS
0
294
Member Avatar for danishbacker

How can i add expires header to images? i used the following in css file and php respectively [code] <?php -----------CSS------------------------------------------------------ ob_start ("ob_gzhandler"); header ("content-type: text/css; charset: UTF-8"); header ("cache-control: must-revalidate"); $offset = 48 * 60 * 60; $expire = "expires: " . gmdate ("D, d M Y H:i:s", time() …

Member Avatar for mlm2gether
0
3K
Member Avatar for majaheni.magagula

Hi everyone I'm new in Joomla 2.5, can you help me on transfering my database from the localhost to the server. I have up loaded all my joomla files and folders to the public_html folder in the server. When I export my database file through phpMyAdmin I see three files …

Member Avatar for LastMitch
0
206
Member Avatar for newebmaster

I am redesigning a site in joomla, and moving it to new web host. The new site will be in Joomla 2.5, and the old site seems to be some version of Joomla 1.5 plus some home-made cms called netdocs. I am coming back to this after many years away. …

Member Avatar for JorgeM
0
925
Member Avatar for bhatehardika

Hello everyone, i want to create social forum in php and mysql.. can anyone suggest how to do this??

Member Avatar for diafol
0
186
Member Avatar for lewashby

When I click a link a simple HTML web form linked to a php file, the browser is downloading the PHP file rather than executuing it in the browser. Any dieas?

Member Avatar for broj1
0
150
Member Avatar for lotpb

<?php session_start(); $_SESSION['form'] = $_POST; ?> <?php if(isset($_POST['First'])) { echo htmlentities ($_POST['First']); }?> <?php */?> <tr valign="baseline"> <td nowrap="nowrap" align="right">Last Name:</td> <td><input type="text" name="Last_Name" id="Last_Name" autofocus value="<?php $_SESSION['form']['Last_Name'] ?>" placeholder="last name" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">City:</td> <td><select name="LookupCity" id="LookupCity"> <option value="" <?php if (!(strcmp("", $_GET['City']))) {echo "selected=\"selected\"";} …

Member Avatar for broj1
0
481
Member Avatar for ukhostland

I have found myself well out of my depth, using a template to create a web site with both JS and PHP scripts. Perhaps someone here can help me? The single page website is accually finished and works well when viewed in a browser from local files. These have been …

Member Avatar for ukhostland
0
229
Member Avatar for ms.rhea

Hi.. I am using MPDF Library to convert my php page into a pdf format. I've displayed already the needed data from my database but my problem is that not all data in the row are being displayed in the pdf. I am having a hard time to display all …

Member Avatar for raghucse2010
0
3K
Member Avatar for McLaren

hello, I am stuck with the simple task. I want to run php script every 5 minutes (now trying to run every mionute for testing) I read that I have to run crontab -e and put commands. Somehow the file is having no commnds added, but as far as I …

Member Avatar for McLaren
0
261
Member Avatar for rubai

I want to store these submitted values. Can it be possible without database? using just array. I don't want to store values for a session. Just for long time unless deleted. <form id="form1" name="form1" method="post" action=""> <form id="form1" name="form1" method="post" action=""> <p> <label for="num1">Some text</label> <input type="text" name="num1" id="num1" /> …

Member Avatar for rubai
0
2K
Member Avatar for BrickZ28

Just looking for third set of eyes on this. I am getting this error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to, from, payload, amount, route, majcom, event, type, admin) VALUES ('', …

Member Avatar for ahmedhamdy
0
208
Member Avatar for daniel36

i am working on a project.In which I am displaying the transaction list.and if admin click on any of the row then the row will disappear and a new row with form to update that row will open with cancel button.Here admin can update or cancel .if he can cancel …

Member Avatar for AARTI SHRIVAS
0
96
Member Avatar for xjshiya

Hello. I have two tables, the itinerary table and location table. The itinerary table consists of all the itinerary: * A - B * B - A * B - C * C - B * C - A * A - C The user will select from the itinerary …

Member Avatar for xjshiya
0
212
Member Avatar for mogaka

I am looking for a universal system that can replicate/Synronize database schemas and changed data for mysql,sql server,Oracle or atleast mysql and postgresql. Our company has different branches each with its own local data but any changes in a local database is supposed to be replicated to the central database. …

Member Avatar for mogaka
0
120
Member Avatar for jLamp

Dear Friends, I've created a lit bit advanced web site(Online Library System). Before publishing it, now i wants to check its security level. I meant, can hackers attack my site? blah blah blah... Is there any tools to check ???

Member Avatar for jLamp
0
153
Member Avatar for benclifford

Hi I am having an issue trying to run an sql query from a php script. I have checked the query through phpmyadmin and it runs fine but whenever I run it through php i get an error. The error is "Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean …

Member Avatar for benclifford
0
271
Member Avatar for Albert Pinto

Hi People... I'm very new to this Symfony thing... I'm working on a CRM... Issue is with the url part... I mean....after looging in, no matter which page I go through... It always displays as index.php at the end part of the url.... or sometimes some annoying url... http://127.0.0.1/myproject/symfony/web/index.php/auth/login I …

Member Avatar for LastMitch
0
102
Member Avatar for acacian.tree

i saved my php webpages in htdocs folder,however if i'm doing some changes in files related to the script,or even in the script,its not getting reflected on webpages when i open them on browser. changes can only be seen when i rename the folder in htdocs to something else. like …

Member Avatar for LastMitch
0
186
Member Avatar for showman13

As many forms as I've used over the years and sending data from one script to another, I'm totally baffled with what is going wrong with this situation... I have a form in a script that basically just displays a book face as a link to go read the book. …

Member Avatar for showman13
0
203
Member Avatar for singularity~

I am trying to update multiple rows in my database using php and mysql. Here is my php mysql statment: $sql = "UPDATE book_store SET". "title = '$_POST[title]', isbn = '$_POST[isbn]', price = '$_POST[price]', quantity = '$_POST[quantity]' ". "WHERE ID = '$_POST[id]' "; Here is my Error: Error: You have …

Member Avatar for diafol
0
317
Member Avatar for ahudson

Hello All! This question probably has a really simple answer but I am fairly new to PHP and I'm not very farmiliar with generating numbers yet. This is what I'm having trouble with: * Check MySQL to make sure that this UNIQUE number is not already stored. If it is, …

Member Avatar for diafol
0
3K
Member Avatar for Buppy

Hi, I have a web app which is in the Google marketplace. When user adds the app, it creates account for that user. I also want to import all the other accounts from that domain and as I understand it can be done by accessing the Provisioning API. How do …

Member Avatar for Dani
0
236
Member Avatar for liphoso

i would like to be able to upload a pdf to a database then later be able to download the book and view it. i want the names of the books to appear as links which when clicked will open the book. the uploading is being done but the downloading …

Member Avatar for IIM
0
148

The End.