Skip to content

Instantly share code, notes, and snippets.

View ShanakaWickramaarachchi's full-sized avatar
🎯
Focusing

Shanaka Wickramaarachchi ShanakaWickramaarachchi

🎯
Focusing
View GitHub Profile
public class sms extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_sms);
}
public void composeMmsMessage(String message, Uri attachment) {
Intent intent = new Intent(Intent.ACTION_SEND);
<tr><td style="padding: 0px; line-height: 17px;"><center>00:00 - 01:00 </center></td>
{{--1--}}
<td> <input type="text" class="form-control textfeilds" id="cost" name="cost" required></td>
<td style="display: none;"><input type="text" class="form-control textfeilds" id="1" name="hour_belt_id" value="1"></td>
<td style="display: none;"><input type="text" class="form-control textfeilds" id="1" name="com_type_id" value="1"></td>
<td style="display: none;"><input type="text" class="form-control textfeilds" id="1" name="com_sub_type_id" value="1"></td>
<td style="display: none;"><input type="text" class="form-control textfeilds" id="1" name="seconds_id" value="1"></td>
<td> <input type="text" class="form-control textfeilds" id="cost" name="cost" required></td>
@ShanakaWickramaarachchi
ShanakaWickramaarachchi / PagesController.php
Created March 3, 2017 01:19
Regulus343/ActivityLog implementation
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
class PagesController extends Controller
{
<?php
$db = mysqli_connect($servername ,$username,$password);
$dbSelected = mysqli_select_db($db,$databaseName);
?>
<?php
$x= 'SELECT * FROM Engineering WHERE institute = ' . $_SESSION['username'];