Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #2K
~12.7K People Reached
Favorite Forums
Favorite Tags

16 Posted Topics

Member Avatar for Acurapassion
Member Avatar for cereal
0
529
Member Avatar for kaprikorn07

You can use `filter_var($input, FILTER_VALIDATE_INT)` in PHP to validate the user input. Replace `$input` with the value entered by the user.

Member Avatar for kaprikorn07
0
1K
Member Avatar for peeyush.budhia

Hi, IS there any way to load a `*.dll` file at run time into PHP project. For instance I want to use the functionality for encrypting the a string using `MCRYPT` module without installing the module. I found on internet that with the usage of `COM` class I can achieve …

Member Avatar for renoldscott
0
511
Member Avatar for peeyush.budhia

Hi, I am working on an aplication which contains two different portals (admin and members). `http://localhost/app/` is used for the members login and `http://localhost/app/admin` is used for admin's login. When I log in into members and admins portal both works fine but if I logout from one portal another portal …

Member Avatar for peeyush.budhia
0
229
Member Avatar for javed.iqbal.3979

Check this: http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html

Member Avatar for Borzoi
0
159
Member Avatar for davy_yg

For the usage of 'telnet' on Windows, you need to install the 'Telnet Client' on your system. To install the 'Telnet Client' follow the instructions: 1. Start Server Manager. Click Start, right-click Computer, and then click Manage. 2. If the User Account Control dialog box appears, confirm that the action …

Member Avatar for cereal
0
2K
Member Avatar for chaitu11

To achive this you need to make sure that the each query is written in a single line; so that we can convert each line into an array index. Example: $arrayQuery[0] = 'Here goes the first query' $arrayQuery[1] = 'Here goes the second query' Following is the code: <?php $arrayQuery …

Member Avatar for chaitu11
0
243
Member Avatar for malatamil

Use the following query: SELECT orderlist_id, brandname, packsize, quantity, mrp, ourRate, Sum, user_id, userName, date FROM orderlist WHERE user_id = '$userid' AND userName = '$usern' AND date >= NOW() - INTERVAL 3 MONTH;

Member Avatar for Taywin
0
263
Member Avatar for otengkwaku

`SELECT site, DISTINCT cat FROM tablename;` Change `tablename` to the name of table you are using.

Member Avatar for otengkwaku
0
221
Member Avatar for infoitmanoj
Member Avatar for ItsMe5247

Instead of using comparison operator (`>=`) and logical operator (`AND`) you can use the `BETWEEN` operator. `BETWEEN` operator process the query fast as compare to comparison operator and logical operator. Use the following query to get your result. `SELECT * FROM report_card_table WHERE expirydate BETWEEN CURRENT_DATE() AND DATE_ADD(CURRENT_DATE(),INTERVAL 3 MONTH);`

Member Avatar for urtrivedi
0
311
Member Avatar for Nabeel_1

$UserName, $Password, $Name are always used as `VARCHAR` in database. So you have to change your query to: `INSERT INTO users (username, passward, name) VALUES ('$UserName', '$Password', '$Name')` Moreover you select only 3 columns to insert the values but you were inserting 4 values. I removed `NOW()` from your query.

Member Avatar for pritaeas
0
457
Member Avatar for santunu23

To achive this you need to use Ajax. Please share your database structure and HTML Form you designed for your application so that I can work on this.

Member Avatar for peeyush.budhia
0
94
Member Avatar for Ehsan_4
Member Avatar for Ehsan_4
0
2K
Member Avatar for santunu23

Yes, storing the large session data may slow down the web server. To overcome this issue I highly recommend you to install MemCacheD on your server.

Member Avatar for santunu23
0
197
Member Avatar for dukumanis

To achive this you need to change 'item type' inside the form as follows: <?php // Make a MySQL Connection mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("pinjaman") or die(mysql_error()); // prepare a qurey $query = "SELECT item FROM tablename"; // here you need to change the 'tablename' as per your table …

Member Avatar for peeyush.budhia
0
481

The End.