" data-bs-original-title="" title="">
I regret for not donating money to needy person because not able to differentiate the mask between the needy and greedy one.
> > When you used the include function in PHP you have to used php file not html Are you sure? It is not mandatory to have php extension.You can include html page > When a file is included, parsing drops out of PHP mode and into HTML mode at …
This bug is already logged in this thread,refer http://www.daniweb.com/community-center/daniweb-community-feedback/threads/449157/votingactivity-bug
Apart from using session you can pass it by serializing or by imploding and passing it to another page. * Either serialize: <?php $postvalue=array("a","b","c"); ?> <input type="hidden" name="result" value="<?php echo serialize($postvalue); ?>"> There are several ways.Apart from on receive: unserialize($_POST['result']) * or implode: <?php $postvalue=array("a","b","c"); ?> <input type="hidden" name="result" value="<?php …
See first of all your server must have SMTP support otherwise you can't send mail. First checks that.If it supports SMTP then check mail method of php. [Click Here](http://www.php.net/manual/en/function.mail.php). Syntax is : bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] …
For php you must only refer [php manual.](http://php.net/manual/en/)Complete guidance of PHP. As for pre-requisite for learing php,you must have understanding on HTML,database,Javascript which are used quite often.
@Fiorentino01^ :- As per the error i can see,i think so you have installed wampserver and then installed mySQL.This is creating problem as wamp server has mySQL service in it's installation process.So if you install MySQL seperately,then **the problem is due to wrong credential**. Check which service is activated.You might …
deception is 100% correct.But as per my experience if you want to work with system level programming then the best programming language will be C,C++(apart from assembly language). There are many languages which are gaining popularity in terms of increase in there usability like PHP which was earlier meant as …
Use **assets.Quantity * stock_names.value as Price** .IN SELECT QUERY.you can use simple arithmetic operators on two number. SELECT DISTINCT assets.SEDOL,assets.Quantity,stock_names.value,stock_names.Fileid,date_header.dateid ,assets.Quantity*stock_names.value as Price FROM assets,stock_names,date_header WHERE assets.Client_ref = '$clientref' AND stock_names.SEDOL = assets.SEDOL AND date_header.fileid = stock_names.fileid
the problem is because of wild card character that you have used. ~^[0-9]*?\|[0-9]*?\|.*?\|.*?\..*?\|2\|[0-9]\|.*?$~m here .* is a wild card which allows as many characters. And it is returning true because |2| is there in test string.Remove that and you can see it will return false. Be careful before using wild …
You must download javax.mail-1.3.3.01.jar and take a look at [Tranport](http://docs.oracle.com/javaee/6/api/javax/mail/Transport.html) class.
@pixelsoul;i think he is refering to change one drop down vaue on the basis of another drop down value. @soapyillusion:- yes it is possible by doing ajax call. Onchange event of first drop down make an ajax call to php page with selected value(using document.getElementById('id').value) and then in that php …
instead of using if-else,it will be better to use conditional ternary operator. $item_avai=(isset($_POST['item_avai']) && $_POST['item_avai'] == 1)?"on":"off";
refer [oracle](http://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html) site to understand Arrays. And open src folder in your jdk installatiion path.Copy it into another location and try to understand java.lang package.It will clear most of your doubts.
have you included css in this page like other pages. If yes,then check if you have applid css property according to particular id or class. If not then show your css for this.
I think so somewhere you are using something like this:- $_SESSION['user_id'] = $_POST['user_id']; As per what i am seeing as i have checked the program and it is working fine. It is showing correct value.$_SESSION['user_id'] = 1 as we have initialised. So problem might be in your view.php.
Check this [thread](http://www.daniweb.com/software-development/csharp/threads/49952/how-to-define-global-variable-in-c). static class GlobalClass { private [U]static[/U] string m_globalVar = ""; public static string GlobalVar { get { return m_globalVar; } set { m_globalVar = value; } } } It states Add a new class.cs file to the project and add static class and static variable. Then to …
No your random variable is giving correct value.The error is because of line 24 counter=-personleaving;//you are makin the value negative here by taking negative of personleaving I think so you want to subtract personleaving from counter.It should be:- counter-=personleaving; //subtract personleaving from counter.
2rotten69:- A database call is always costlier than a file system.When you store image in file system and just store location of image in DB as whenever you are storing file it will be encoded in binary format(BLOB ->Binary Large Object) and when you retrieve it ,it will be again …
There is a browser issue with this fixed footer.Look in both images.The IE one doesn't contain **AD:web based bug tracking - adminTrack.com** .when user is not logged in. **LOG: FB.getLoginStatus() called before calling FB.init().** // is also shown in chrome and mozilla **Object required:http://b.voicefive.com/c2/10378794/rs.js**   Also there …
Read http://www.daniweb.com/web-development/php/threads/435023/read-this-before-posting-a-question .It contains quite a few terms used in php and also link to how to overcome that.
The server cannot send any more http headers if the HTTP Content has started sending. In PHP code, this means you have ouput something to the page with echo or print etc. PHP will not output any whitespace in between php tags, However, for anything outside php tags, (eg: html) …
U can add it to windows task scheduler . Write a batch file to export sql server database and add it to windows task scheduler.
The End.