Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for sudharshan9xweb

you can use this code: you just need to instantiate EE. So for your form targets a result page/template as normal html, for example: <form action="/form-result"> (or whatever), then the quick and dirty way would be simply to include PHP in the template receiving the form. On that page (receiving …

Member Avatar for subuhi_1
0
592
Member Avatar for Speed Ack

<?php ob_start(); session_start(); error_reporting(0); // include('includes/dbconnection.php'); $connection = mysqli_connect("localhost", "username", "password", "database"); if(mysqli_connect_errno()) { echo "Failed to connect MYSQL: ".mysqli_connect_error(); } if(isset($_POST['login']) && $_POST['login'] == "login") { $email=$_POST['email']; $password=md5($_POST['password']); $sql = "SELECT * FROM gts_users WHERE email =".mysqli_real_escape_string($connection, $email)." AND password =".mysqli_real_escape_string($Connection, $password); $query=mysqli_query($connection, $sql); $count=mysqli_num_rows($query); if($count > 0){ $ret=mysqli_fetch_array($query); …

Member Avatar for Speed Ack
0
4K
Member Avatar for Rozanna

<option>----Select Model----</option> <?php if(isset($_POST['b_id'])) { $sql = "SELECT * FROM model WHERE Brand_ID =".mysqli_real_escape_string($Connection, $_POST['b_id']); $res = mysqli_query($Connection, $sql); if(mysqli_num_rows($res) > 0) { echo "<option value=''>----Select Model----</option>"; while($row = mysqli_fetch_assoc($res)) { echo "<option value=".$row['ID'].">".$row['name']."</option>"; //echo "ID is: ".$row[ID]." and name is: ".$row[name]; } } } ?> </select>

Member Avatar for harjinder007
0
1K
Member Avatar for aveeva7

// Enable error reporting ini_set('display_errors', 1); //Report runtime errors error_reporting(E_ERROR | E_WARNING | E_PARSE); //error_reporting(E_ALL & ~E_NOTICE); // Tell php where your custom php error log is ini_set('error_log', 'php_error.log'); $dateTime=date("Y-m-d H:i:s"); $ip= $_SERVER['REMOTE_ADDR']; $errorString="Error occured on time $dateTime by ip $ip"; $php_error_msg.=$errorString; // Append the error message to the php-error …

Member Avatar for harjinder007
0
203
Member Avatar for everton.retweets

use this: RewriteEngine On RewriteRule ^http\://website/user-name([^/]*)$ /profile?id=$1 [L]

Member Avatar for matrixdevuk
0
191
Member Avatar for harjinder007

I need to redirect specific URLs to their new equivalent. i have a single dynamic page(pages.php) and i fetch data from database.(like domain_name.com/pages.php?id=4) and i want to redirect to domain_name.com/pages/name or domain_name.com/name on same page with different names(for example if pages.php id=4(example- domain_name.com/pages.php?id=4) and id 4 have name welcome then …

Member Avatar for harjinder007
0
208
Member Avatar for gagan22

You can take screenshots in real time from PHP using the Browshot service. chack this link for know more: [Click_for_Browshot](http://www.browshot.com/api/libraries/php)

Member Avatar for kireol
0
369