76 Posted Topics
Re: What's happening is your queries are erring out. Thus instead of a MySQL resource being returned by *mysql_query ()*, an error is being passed. *mysql_num_rows ()* expects, not surprisingly, a MySQL resource and not such an error. One of the easiest ways to output this (per chrishea's suggestion) is to … | |
Re: > what is difference b/w web development & web designing.In which we have better scope or income? Developers will, per national average, earn a higher salary than designers. That said, the two are entirely different skillsets and require different mentalities. People don't typically choose to go one way or the … | |
Re: > can they hack using utorrent or any torrent downloader software ? Any software could potentially be used for malicious intent if there is a security vulnerability within it. Is uTorrent any more or less secure than its alternatives? Who knows. | |
Re: > I have heard about this Internet Marketing for years now, How can you make some profit while sitting on your desktop? Thank you for your shared knowledge :) First off, I hope you're not actually sitting *on* your desktop! On topic though: do you actually have something to market? … | |
Re: > i have forgot yahoo passwrod and i also forgot first name of my favorite uncle name Here's a quick thought then: ask one of your parents. He's their brother/brother-in-law. If you've managed to forget the first name of your *favorite* uncle then let's hope they haven't forgotten the name … | |
Re: > **whisper* - Happygeek, who are you considering a spammer? Likely the person who made a thread in which all they did was post the URI to a web site. | |
Re: > Dear all, I would really appreciate your help and assistance with a bug i'm facing in myphpadmin Mysql table. > > I have a table which is named as total amount. I also have a front end php. interface where i do my data entry from. When I enter … | |
Re: People and there's absolutely zero hesitation there. I do IT work for a non-IT company. Thus my coworkers have zero appreciation or understanding for what it's like to have someone repeatedly interrupt your train of thought. It doesn't help that I work in the auto industry and people are, by … | |
Re: > I'm a student and I have to make a program with Console application to manage a Bank Account, using Classes. > The program must be able to: > - Create e new bank account > - Deactivate a bank account > - Draw money from account > - show … | |
Re: > Hi > I am very new php propgramming. But I have done classic asp. > I have a string request, eg www.xyz.com?test=1 > > In my php page, I would like to read test value. > On my index.php, I have this code. > <? > $y=$_GET["test"]; > ?> … | |
Re: I agree with *radow* here. There's nothing syntactically wrong with your rewrite conditions or rule. The HTTP 500 error you're receiving is likely because *mod_rewrite* is not enabled. Do you have any other configuration details in your *.htaccess* file that may be causing the 500 error? If not, I would … | |
Re: > ello everyone, > > Hello everyone, > > I wanna make software like ipmsg aur any lan mssnger software . Please any one guide me from where i can start my work . I am good in coding but dont wanna from where i have to start this . … | |
Re: > How to upgrade PHP 5.2.10 version to PHP 5.2.13? I have already had PHP 5.3.19 and downgrade the version to PHP5.2.10 and I need of PHP 5.2.13. I have downgraded version using the script file. > > Thanks in advance. You can get ahold of previous PHP release versions … ![]() | |
Re: > thanks for the try =) > what i want is 1 value per column not two separated in any delimeter So if one column contained 'hot' and the other contained 'dog' you'd want 'hotdog', correct? If that's the case then *blocblue's* solution is correct. Merely remove the delimiter from … | |
Re: > plzz help... > http://speedtest.in/results/12110293e01edd3b7fa9e60491cb88b076bd this website n other all website same result except http://www.speedtest.net/result/2328677319.png > first one is showing me more speed to download.. and i m getting only 70-80 kbps... > plzz help... :( In order to accurately test your bandwidth you should be connected directly to the … | |
Re: > Hi guys, > I have decided to learn php, can some one help me to give a good start. Is it mandatory to know any language before i start learning Php. I have no knowledge in any programming langauge. Any help would be much appreciated. Thanks in advance guys. … | |
![]() | Re: `$result = mysql_query($query) or die (mysql_error ());` Append the `or die (mysql_error ())` clause to your query. This will print any errors stemming from MySQL. If you receive any then post what it is here. If you do *not* receive any errors then it's a logic error within your application … ![]() |
Re: > I am puzzled that so many people actually like that smell enough to buy it. There are so many other scents to put in a can and spray on your body. Why is this one so popular right now? It really has an edge to it and makes your … | |
Re: > that seem to be a good plan. just one question what is ext? *$ext* is referring to the file extension (.jpeg, .png, etc.). ![]() | |
Re: Apple devices have unique user agents, all with their device name within it. For example, an iPhone 5 may have a user agent of *Apple-iPhone5C2* (which, by the way, will be *most* USA-based iPhone 5 users). This can be taken advantage in detecting whether a visitor is using an Apple … | |
Re: You'll want to create the attributes against the *DOMDocument* object. This is done with the *DOMDocument::createAttribute* method. $cat = $doc->createAttribute ('category'); $author = $doc->createAttribute ('author'); $cat->value = 'book'; $author->value = 'ramk'; $title1->appendChild ($cat); $title1->appendChild ($author); What's happening is a *DOMAttr* object is being instantiated for each attribute you'll utilize. You … | |
Re: Are you constantly receiving this error or only after submitting the form? If it's constant then the problem lies with you not checking for form submission. Otherwise are you using the correct *enctype* attribute on the *FORM* element? **Make sure form submission has taken place prior to working with superglobals … | |
Re: I could spend my entire work day on Wikipedia if I wasn't careful. | |
Re: I'm really not much of a gamer. Few hold my interest for very long. If it's not The Elder Scrolls (Skyrim lately, obviously) or Civilization then I'm probably not playing it. I do, however, keep up with the Zelda releases on console. I grew up with that franchise and it … | |
Re: Assuming *$main_category_p* is being set to *$_POST['main_category']*: The problem is: if($main_category_p == "Choose...") The value attribute of the OPTION is what is sent via HTTP POST. Not the actual display text you're showing the client. That's arbitrary and has no implications beyond presentation. So, given your default value is actually … | |
Re: Break down exactly what you're doing and see if you can spot the logic problem. if ( ! $email_p) { $forgot_error .= 'Error - Enter your email address'; } else if (filter_var ($email_p, FILTER_VALIDATE_EMAIL)) { $forgot_error .= "Invalid e-mail address"; } Your first statement is checking to see if *$email_p* … |
The End.