Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #1K
~5K People Reached
Favorite Forums
Favorite Tags

21 Posted Topics

Member Avatar for adindra

Without seeing how your database is set up (the design of your various fields), it seems like you may only have the 'universitas' and 'jarusan' fields to accept a different data type or you just have it set up as varchar(1). Either way, it would probably do you good to …

Member Avatar for Member #120589
0
2K
Member Avatar for skubasteve

Here's my understanding of what's happening: The [icode]mysql_query[/icode] function is returning [icode]false[/icode] because there were no rows ([URL="http://us2.php.net/manual/en/function.mysql-query.php"]see PHP manual for mysql_query return values[/URL]). Then, the [icode]mysql_num_rows[/icode] function is taking the value [icode]false[/icode], which is not a resource (what it's expecting), and therefore is throwing an error. A simple thing …

Member Avatar for djjjozsi
0
128
Member Avatar for leviathan185

I've experienced an error message similar to this when dealing with the file system. At the time I had the problem, the solution came in the form of checking the folder permissions to be sure the proper write access existed.

Member Avatar for leviathan185
0
187
Member Avatar for codemaker

I monkeyed around with your code for a little while, and I can see two problems with your implementation. 1. If your JS code above is truly all that's in the file 'ajax.js', then you never created an XMLHttpRequest object. 2. Once you've loaded the page, PHP will never have …

Member Avatar for Member #120589
0
252
Member Avatar for gagan22

If this is a CAPTCHA, it seems that it would require some sort of actual domain in order to show the image. I had a testing server (on my personal computer) set up using reCAPTCHA and I made a fake domain that my testing server could read (e.g., example.test)--it was …

Member Avatar for gagan22
0
145
Member Avatar for bubbafunk1

It's not completely obvious to me what's going on here, as I don't know the meaning behind [icode]$extime[/icode] and [icode]$tictime[/icode]. The one thing that stands out to me, though (simply because it parallels the problem you're describing), is this line: [code=PHP] $tictime = time() + (3600 * 6); [/code] It …

Member Avatar for jcacquiescent27
0
302
Member Avatar for praghna

It looks like your hosting provider has disabled the necessary option to allow this function to work, which is [icode]allow_url_fopen[/icode] (read about this option in the PHP manual [URL="http://us3.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen"]here[/URL]). If you want to read the contents of a remote file, try using the PHP curl library; there's an example page …

Member Avatar for almostbob
0
113
Member Avatar for Szabi Zsoldos

This could be a PHP or Javascript question, depending on how your application works. If you're using PHP, you'd have to have a page which sends the information to the example page you gave above (as POST or GET data), or you could set the form [icode]action[/icode] to be empty …

Member Avatar for Szabi Zsoldos
0
115
Member Avatar for CFROG

I think you'll find that the example [URL="http://www.tizag.com/mysqlTutorial/mysql-date.php"]at this page[/URL] will shed light on the problem. Just from a glance, and not being set up to test it, I'd say to change [icode]date_submit='$dsub'[/icode] to [icode]date_submit=CURDATE()[/icode].

Member Avatar for CFROG
0
163
Member Avatar for 83apple

Just from the code that you've posted, I'd say that your error has to do with variable naming. In your "copyrightChecker.php" file, you don't define the constant [icode]COPYRIGHT_NOT_VALID[/icode] or [icode]COPYRIGHT_IS_VALID[/icode]. The way you're using those two identifiers, PHP is expecting defined constants, not strings. The easiest thing to do to …

Member Avatar for jcacquiescent27
0
136
Member Avatar for K?!

Here's what I do to remedy the problem. I found it after a good bit of Google searching. I think this is all you have to do, since you likely have your work set up as a project and Netbeans should have traversed all files available to your project. At …

Member Avatar for K?!
0
175
Member Avatar for dwdata

If the 'BCC' field is anything like the "To" field, you would probably format it like this: [icode]$BCC = "[email protected], [email][email protected][/email]";[/icode] Using PHP to take the results of the query, you could do something like this to get the BCC recipients into the format I mentioned: [code=PHP] $bcc_email = mysql_fetch_assoc($result); …

Member Avatar for somedude3488
0
244
Member Avatar for whiteyoh

I sometimes have difficulty with using the 'isset' function. You might try using 'if( ! empty($_POST['SUBMIT']) )' instead.

Member Avatar for Josh Connerty
0
145
Member Avatar for anisa

I'm not sure if this is the solution, but you might change this line: [icode]this.location.href = "telefoni.html";[/icode] to this [icode]this.location.href = "<$mt:BlogURL$>telefoni.html";[/icode]. Also, you may have a logic error going on. When you first load the page, you have the image 'FirstActiveButton.jpg' loaded; when you click on that image, you …

Member Avatar for jcacquiescent27
0
348
Member Avatar for whiteyoh

It looks like you have an unneeded dollar sign in your 'if' condition. Try changing [icode]if ($_POST["$submit"])[/icode] to this [icode]if ($_POST["submit"])[/icode]. Just my 2 cents.

Member Avatar for jcacquiescent27
0
276
Member Avatar for tmv105

Simple thing, but it looks like you didn't terminate your ternary operator with a semicolon.

Member Avatar for jcacquiescent27
0
108
Member Avatar for rahul8590

I just double-checked the PHP syntax for if/else statements. It seems like you would benefit from using curly braces here, like so: [code=PHP] if (mail($recipient, $subject, $msg)) { echo nl2br("<b>Message Sent:</b> To: $recipient Subject: $subject Message: $msg"); } else { echo "Message failed to send"; } [/code] You may also …

Member Avatar for jcacquiescent27
0
122
Member Avatar for Jintu

This is simply a matter of missing curly braces. Your script works as expected once they are all in there. Following Fest3er's advice will get you far.

Member Avatar for dalefish
0
132
Member Avatar for ranyapalanivel

There's a good reference [URL="http://vegdave.wordpress.com/2007/05/19/import-a-csv-file-to-mysql-via-phpmyadmin/"]in this post[/URL] of how to do this, if you are using phpMyAdmin. Here are a few steps: 1) Save the spreadsheet as a CSV file from Excel 2) Make sure you have a table set up in MySQL, having the fields you need and presented …

Member Avatar for jcacquiescent27
0
105
Member Avatar for mahakaal

I'm not very experienced with .htaccess files, but there is something I found after a little Googling that's simpler than your method. I think it assumes that PHP is set up as an Apache module (which is often the case). You could try this: [code] <FilesMatch "\.(htm|html)$"> SetHandler application/x-httpd-php </FilesMatch> …

Member Avatar for mahakaal
0
105
Member Avatar for kssi89

Your 'container1' div is outside of the 'body' tag, so it may be a browser standards issue; try moving that div inside of the 'body' tag. Firefox is much more standards compliant than IE, possibly resulting in the Firefox-specific behavior you're seeing.

Member Avatar for MJ Pieterse
0
148

The End.