I am having file bookissueadd.php..... in which i am having tag
<td height="21">Issue Charges</td>
<td><div id="txtcharges"></b>
</div></td>
in another php file i am doing some calculation and get my value in variable $cal
getbookname.php
$cal = $bookprice/100*$perval;
now my question is how can i put the value of $cal in front of html tag ISSUE CHARGES
thanks
please help
HTML Code:Code: <span id="ctl00"><span> <div class="ldpPropFeatures"> <div
try catch error
I have been trying try catch but, I can't get it to work. The code opens a non existing file called "a"Code: private function fileOpenMethod($filePath,
Help with echo()
I'm having some problems with this code:Code: echo ' <A
Calculus Help (and by help I mean homework)
Hrmmm, I hate posting about math homework, partly because it's homework, and partly because I hate whenever I can't figure out math myself.Yes, I realize this is an extremely long post. Feel free to
Replacing a string on click of a button
Hi! Is there a way to replace a string on a click of a text link?This is what I've come up with. It doesn't work at all ^^;;Code: <head><?php $string = Red;function changeBlue()
mysql query with single quotes in a variable
$sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$url', '$sitename', '$description', '$ownername', '$theme') ";mysql_query($sitedetails) or
how to get IP address?
hey guys,i have this code which is supposed to get me the IP address of my site visitors:Code: <?php if ($_SERVER['HTTP_X_FORWARD_FOR']) {$ip = $_SERVER['HTTP_X_FORWARD_FOR'];} else {$ip =
How could I combine these arrays??
Hello.. I'm trying to figure out a way to combine these first two arrays to get the last array.. 1st array:Code: Array( [0] => zero [1] => one [2] => two)2nd array:Code:
bind error during socket programming
i am kinda new to socket programming. wrote the below code for a server. but getting the bind error everytime. i even tried changing the port number(currently is 13 daytime) but doesnt work. please
foreach iterator
Hi GuysDoes the foreach loop have an inbuilt iterator ?