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
~16.3K People Reached
Favorite Tags

31 Posted Topics

Member Avatar for vaanipala

You can use isset to check if the form data has been set. Example : [CODE]<?php if (isset($_GET['test'])){ echo "Not an empty form"; }else{ echo "Empty form"; } ?>[/CODE]

Member Avatar for trav04
0
222
Member Avatar for uv4u
Member Avatar for Mayank23

There are several ways to do this assuming that you store the 'rating' data along with the ip address or username of the person who voted: a. Fetch the ip address of the user by help of PHP (search Google to know how to fetch user's ip) if you want …

Member Avatar for Stefano Mtangoo
0
578
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
474
Member Avatar for daniel36

Phpacademy.org is an awesome site for learning PHP, MySQL, Ajax, jQuery and other web development related stuff.

Member Avatar for digital-ether
0
112
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
120
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
234
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
197
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
519
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
130
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
143
Member Avatar for lobebe
Member Avatar for Farhad.idrees

The code should look like this after editing [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 = mysql_query($query); if(!$result) { die('query:invalid Query: '.mysql_error()); }[/CODE]

Member Avatar for mamdouh ramadan
0
99
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
196
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
116
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
91
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
204
Member Avatar for Clanstrom

In your page you put the following code: [CODE]<?php if(isset($_GET['p']) && !empty($_GET['p'])){ $p = $_GET['p']; //please put mysql queries and most of the code dealing with mysql in a separate page unlike this one $query = "SELECT `content` FROM `your_table` WHERE `id`='$p'"; if (@$mysql_query = mysql_query($query)){ if (mysql_num_rows($mysql_query)==1){ $content = …

Member Avatar for Clanstrom
0
597
Member Avatar for gwhite12

I hope you will make a separate file named: style.css and insert the following code there [CODE] body { background-color:#000000; color:#E27907; font-family:Verdana,Arial; font-size:10pt; letter-spacing:2; } .thumbNormal { border:4px solid #000000; } .thumbSelected { border:4px solid #ff0000; } .prevImage { border: 8px solid #ccc; width: 200px; height: 100px; }[/CODE] And also …

Member Avatar for Nahiyan
0
5K
Member Avatar for rpv_sen
Member Avatar for zagam2

I think it's related to wordpress but not anything related with PHP. Maybe you should post this in wordpress' forum.

Member Avatar for G&G Designing
0
158
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

You can use this function: [CODE]unlink(test.xls);[/CODE] I am not sure whether it will work fine with xls file but it's worth giving a try.

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

Here is a link to some cool [URL="http://www.thenewboston.com/?cat=67&pOpen=tutorial"]beginner php tutorials[/URL]

Member Avatar for Nahiyan
0
88
Member Avatar for epicrevolt

This topic has nothing to do with PHP, I think you should make this same topic in wordpress' forum.

Member Avatar for Nahiyan
0
182
Member Avatar for dspjm

If you want to create awesome games using a very easy to use interface within a very short period of time then download Game Maker 8 from yoyogames.com. No special knowledge of programming is required but there is a built-in compiler and scripting language which allows you to make advanced …

Member Avatar for JamieLynnSEO
0
247
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
152
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
205
Member Avatar for Theo Gooden

I am a kid who loves computer programming. I am currently working in a big digital dictionary project alone, no one to help me but daniweb community. Try out game maker 8, you will love starting with it, it features 3D, you can make awesome 2D games, etc. You can …

Member Avatar for Nahiyan
0
168
Member Avatar for cacoyle

[CODE]<img src="http://www.myurl.com/images/processing.gif" width="100" height="100">[/CODE] You can resize into any size you want

Member Avatar for Nahiyan
0
131
Member Avatar for Nahiyan

I am new to PHP and I discovered a new trick, I want to create a script and if $pagea=1 then it will display the contents of page [B]a[/B] and so on but I want to know how to make a button or anything that is kinda like link and …

Member Avatar for Ole Raptor
-1
107

The End.