Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
34% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
7
Posts with Downvotes
6
Downvoting Members
2
2 Commented Posts
~15.9K People Reached
Favorite Tags
Member Avatar for vaanipala

Hi, How do I prevent my user from submitting an empty form? When I do that, I'm getting a HTTP 404 not found error in IE and a blank page in Firefox. None of the validation errors are showing up. I even tried putting an else stmt in the StudentsController's …

Member Avatar for trav04
0
218
Member Avatar for uv4u

some time it's urgent to shutdown ur system ver y fast so use command start notepad and write down command @echo off shutdown -s -t 1 /f now save this file with xyz.bat (.bat is a extension) change save as text to all file

Member Avatar for uv4u
0
198
Member Avatar for Mayank23

Hello, i need help on writing a code that can stop a person from voting twice. such as by refreshing the page, clicking back, or clicking on the button again. can anyone help? thanks heres my voting code so far, it works but user can double vote. [ICODE]<?php $con= mysql_connect("xxxxx","xxxxx","xxxxx"); …

Member Avatar for Stefano Mtangoo
0
570
Member Avatar for Nahiyan

Hello, I am making a dynamic vertical sidebar which uses PHP to fetch data from the database. However, as it is dynamic I have to make sure it will work properly even if it has 100 lines of text. But I am facing a problem that it is going below …

Member Avatar for Zagga
-2
424
Member Avatar for daniel36
Member Avatar for Nahiyan

Hello, I want to fetch data from a MySQL database's table and order the selected data by date. Which data format is ordered most precisely by MySQL? I also want the date format to be unique. Please express the format just like PHP's one, example: h:i:s. Thanks, Nahiyan

Member Avatar for diafol
0
116
Member Avatar for Nahiyan

Hello, So I wrote a PHP script which will return all the contents of a table using Mysql. I want to set a limit so that PHP will display only 30 rows and divide them into pages like [1,2,3...] dynamically and the PHP script will detect the page using GET …

Member Avatar for diafol
0
231
Member Avatar for Nahiyan

Hello, So I was working with php, jquery, javascript and html to make a show/hide toggle system. I use php to fetch some data from my database and display them using html. I use jquery to make the show/hide toggle functionality. However, as I rely on php's while loop I …

Member Avatar for Nahiyan
0
195
Member Avatar for Nahiyan

Hello, I am experiencing a problem with running javascript code when ajax calls a file. I have a file named 'index.php' which simply loads some comments by using the file 'comment.inc.php' and run some javascript code to change the id of some div. I don't know how to let the …

Member Avatar for Nahiyan
0
406
Member Avatar for Nahiyan

Hello, I am storing my mysql connection data and other sensitive information in a config file, however I detected an issue that anyone can access that file and view the contents of that file but I don't want to let anyone do that without appropriate permission. I can encode the …

Member Avatar for eXpertPHP
0
125
Member Avatar for Nahiyan

Hi, I have used this code to make a php file with php code in it: [CODE]<?php $fn = 'connect.inc.php'; $string = "<?php $mysql_host = 'localhost'; $mysql_user = 'root'; $mysql_password = ''; $mysql_database = 'main'; @mysql_connect($mysql_host, $mysql_user, $mysql_password) or die("There was an error connecting to the server"); @mysql_select_db($mysql_database) or die("There …

Member Avatar for cereal
0
139
Member Avatar for lobebe

Please can some help me with the error in the code below. thank you in anticipation. [CODE]<?php $obj = new Unit(); { global $database; $Unit = $obj->select_row_query ("SELECT `reservation_extras` FROM `".$obj->get_table_name()."` WHERE `id` = '".$_GET['PropertyId']."' AND `published` = 1", 1); $rexzz=explode(",", $Unit->reservation_extras); $i=0; $total_ext=0; if(!empty($Unit->reservation_extras)||$Unit->reservation_extras=='[end]'); } foreach($rexzz as $rexz) { …

Member Avatar for lobebe
0
208
Member Avatar for Farhad.idrees

hi i have one page where i will get Categories of Products and i want to make session of those Categories..But when i referesh page session break...my code is.. [CODE] session_start(); $_Session['P_Category'] = $_GET['P_Category']; ////line 8 $P_Category =$_Session['P_Category']; $query = "select * from tblProducts_info where P_Category = '$P_Category'"; $result = …

Member Avatar for mamdouh ramadan
0
96
Member Avatar for Nahiyan

Can anyone check out this script? My ajax code doesn't run and the xmlhttp.status is always 0 though it is always 200 in my other scripts. I am sure there is something wrong with my script. Can anyone help me fix it? I tried to debug it for hours but …

Member Avatar for ddymacek
0
193
Member Avatar for Nahiyan

I have coded some ajax recently but whenever I click the 'register' button, nothing actually happens. I worked about about an hour to check what's wrong with the code but I failed to find any error. My php file just displays out an echo and runs some code if required …

Member Avatar for Nahiyan
0
113
Member Avatar for Nahiyan

The title says it all. I want to include a file outside the current working directory. Suppose my file is in the address "localhost/directory1/directory2" and I want to include 'core.inc.php' located in "localhost/directory1". In this case is requiring that file possible? If so then how can I achieve this?

Member Avatar for ddymacek
0
89
Member Avatar for Nahiyan

Hi, I am making a mini cms for managing my website and to increase my php skills so I wrote some code to give out the result of a query by using mysql_result(..,..,..); but when I tried to echo it out, the php code which is stored in my database …

Member Avatar for leakbali
0
198
Member Avatar for Clanstrom

Hi there, since recently i have been trying to master HTML, and now i am full ready to take on PHP therefore, just like HTML instead of making many .html files | i want to use the PHP dynamic page function that can show me pages from database. usually as …

Member Avatar for Clanstrom
0
593
Member Avatar for gwhite12

I have this code. I put everything within <?php ?>. Because I thought that would help. I have the code commented for easier read. Can someone please show me where I went wrong, or what I forgot? [code] <?php ?> <html> <head> <style> body { background-color:#000000; color:#E27907; font-family:Verdana,Arial; font-size:10pt; letter-spacing:2; …

Member Avatar for Nahiyan
0
5K
Member Avatar for rpv_sen

Hi I am trying to connect my server through PHP script as below. But i am unable to reach my server and getting error. If i connect my server through ftp software with [B]FTPES[/B] protocol my server is getting connect I am getting an Error as [B]"Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: …

Member Avatar for rpv_sen
0
2K
Member Avatar for zagam2

Hi.. Related Posts for wordpress thesis blog.. I need related posts by categories. But not in ul and li , i need full post show in related post. Just like home page posts.. I think you understand. thanks waiting

Member Avatar for G&G Designing
0
152
Member Avatar for Nahiyan

Hello, I wrote some code to make a table using HTML with <th> tags for displaying header in the first row followed by contents of mysql database. Due to while loop the header is displayed everytime the mysql_fetch_assoc fetches stuff from the database. However I want the header to be …

Member Avatar for Nahiyan
0
4K
Member Avatar for jacksantho

Hi, I am saving my excel file in my local directory. $objWriter->save("C:/test.xls"); How can i delete(only test.xls) this same excel file from my local directory using php. Please try to solve my problem. Thanks in advance.

Member Avatar for tech.biztech
0
126
Member Avatar for shamim0754

Hellow,I need to help for desinging a online based education website.what thing I considered of this site.I plan my site will be remain advanced login system,exam system,tutorial but I need more concept that i can do and how can i do this.thanks

Member Avatar for Nahiyan
0
86
Member Avatar for epicrevolt

Alright, so I am creating a website for an upcoming band and they want a website. I was planning on using Wordpress, but ran into problems when trying to display a list of songs. What is the best way to have a page list songs in Wordpress? Do you recommend …

Member Avatar for Nahiyan
0
178
Member Avatar for dspjm

For example, I want to write a minesweeping. I know the interior algorithm, but I don't know how to start creating a gui. How should I get started? Thanks.

Member Avatar for JamieLynnSEO
0
245
Member Avatar for Nahiyan

Hello everyone, I am new to Java but know lot about other programming languages and experienced game developer. As Java is platform independent, we cannot compile it to .exe format and that's where my problem is. Suppose I have created a .java file and compiled it to .class file, then …

Member Avatar for Nahiyan
-1
149
Member Avatar for Nahiyan

I have one MySQL database field which saves comment from users. Some comments have new lines but when I try to use PHP to display the contents of the database, the new lines are ignored. I know about nl2br() but I guess it will not work as my users will …

Member Avatar for Nahiyan
0
199
Member Avatar for Theo Gooden

I am new to software development. I just started to read software engineering by Ian Sommerville and just fell in love with software development. I want to learn the C++ language. What is the best approach to quick and clear understanding and use of the language. I want to develop …

Member Avatar for Nahiyan
0
165
Member Avatar for cacoyle

this may seem a tad stupid but i've been googling for about half an hour and still no clarity - basically i have an animated gif called processing.gif i would like this gif to display in full screen for about 5 secs or so and then redirect to my home …

Member Avatar for Nahiyan
0
126