Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
89% Quality Score
Upvotes Received
9
Posts with Upvotes
9
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
~60.3K People Reached
Interests
Programming, web development
PC Specs
8GB, 256 SSD, Ubuntu 18.10
Favorite Tags
Member Avatar for baig772

I am trying to implement multi authentication in `laravel5.2`. I am following [this article](http://saravanan.tomrain.com/multiauth-in-laravel-5-0/) My **Auth.php** <?php return [ 'multi' => array( 'user' => array( 'driver' => 'eloquent', 'model' => 'App\User', 'table' => 'users', ), 'admin' => array( 'driver' => 'database', 'model' => 'App\Admin', 'table' => 'tbl_admin_user', ) ), 'password' …

Member Avatar for tracyberge
0
610
Member Avatar for baig772

I am using `passport` in `laravel` for authenticating my users in APIs. I am able to authenticate different types of users from different tables and generating different token for them but the routes are not protected. For example. A user can access the routes like this Route::group(['middleware' => 'auth:api'], function …

Member Avatar for PARDEEP_2
0
967
Member Avatar for calvinyow

Hi. can someone help me with my problem regarding search function, i have hard time knowing where to insert my if(isset($_POST['search'])).................and so on codes within my phpfile. here is my code, (pagination working) <?php $sql = "SELECT COUNT(user_id) FROM view_onse_officers"; $query = mysqli_query($db_conx, $sql); $row = mysqli_fetch_row($query); $rows = $row[0]; …

Member Avatar for Gugun_1
1
5K
Member Avatar for baig772

I have a string like `string(8234) "<style>.{ margin-bottom:10px; float:left; display: inline-block; width:56%; text-align:left; padding-right:20px; padding-left:20px; } . > p { display: table-cell; height: 150px; vertical-align: middle; }..................</style>.................` I want to remove `<style>` tag and all its contents. I have tried $description = $product_info['description']; // the string with style tag $text …

Member Avatar for cereal
0
2K
Member Avatar for baig772

I have a div with `width: 200px` and I am adding text in it dynamically, I want the text to fit in this div but the text is getting out. I have tried to change the font size on character count but it does not work in all cases, like …

Member Avatar for AleMonteiro
0
373
Member Avatar for swilliamrobert

Hi, How can we destroy session after closed window or tab? If user close window, still session is alive after login the systems. Please give me good solutions. thanks for your time. William

Member Avatar for jkon
0
8K
Member Avatar for baig772

Hi all, I want to implement a page flip effect on y uploaded pdf file. like [Click Here](http://www.pressmo.com). I am uploading a pdf file and while viewing it, i want a page flip effect in it. Any help will be appriciated

Member Avatar for swan.may.9
0
411
Member Avatar for baig772

**Problem** I need an jax pagination in YII, The problems are * its not showing the required results for the first time. ie. it is showing the complete result * When clicked on more, it again shows the complete result below that section as it is **What Needed** * i …

0
153
Member Avatar for subrata_ushasi

Hi all, I installed wamp server as well as oracle in my computer where oracle 9i is opening but wamp server is not working . very urgent. Subrata

Member Avatar for rageesh.pk
0
242
Member Avatar for baig772

I have a form for editing a user record. Its updates the record for the first time but when i press the update button again, it shows me an empty screen and it unsets the picture as well. I cannot figure out what I am doign wrong Below is my …

0
182
Member Avatar for baig772

Hi all I am making a website. I want to use linkshare on my website so that all the publishers registered with linkshare are listed on my website. Any suggestions? [Link Share](http://www.linkshare.com/)

Member Avatar for swshyamash
0
247
Member Avatar for iamthwee

This is going to sound really stupid, but I'm using 'plesk' and I've written the very simplest form of php mail function. However, it doesn't arrive in my email account. I've tried different email accounts and looked in my spam bin. I've waited days to be sure. I've checked everywhere …

Member Avatar for iamthwee
0
648
Member Avatar for nacedo

I am starting a new project and I dont have experience in PHP in general. To help me up and speed things up some of my coworkers told me about CakePHP and Yii. I want to make a hotel reservation system (frontend and backend) and I was wondering wich to …

Member Avatar for baig772
0
135
Member Avatar for baig772

Hi Any one ever wrked on live helper chat? [This](http://livehelperchat.com/) This is following template structure may be symfony or smarty and I am looking to change some form labels, but cannot figure out where to chage? Thanks in advance for help

Member Avatar for baig772
0
212
Member Avatar for baig772

Hi all I have a website about magazines and I want to upload the pdf file into it and create a flipping book effect for that uploaded file. I have seen many softwares but he problem is * I want to integrate this functionality in my website * I am …

Member Avatar for diafol
0
229
Member Avatar for hudhasama

Hello there. Sorry that I don't really know much about drop down button in php. I was assign to do a booking system as my final project but somehow I don't know how to make the button works. It suppost to be like this. The user needs to choose which …

Member Avatar for hudhasama
0
497
Member Avatar for baig772

I have a search form with only one text field. The problem is that the width of that `text field` is not same. the style is form#index-table-form input[type="text"] { width: 106px; height: 24px; position: absolute; outline: none; right: 0; top: 6px; border: 1px solid #3772af; padding-left: 6px; padding-right: 24px; font-family: …

Member Avatar for PriteshP23
0
126
Member Avatar for baig772

I am very new to wordpress. I am hivaing a small problem in my site. I am using a custom template for the home page, I have category filters on top, on mouseover it shows the total no. of models in that specific category. Well the problem is, I have …

Member Avatar for urtrivedi
0
73
Member Avatar for baig772

Its been alot of mess to make the pagination in wordpress :( I have the pagination, but it renders the same page template file is ?php get_header(); ?> <?php global $my_query; global $paged; $paged = get_query_var('paged') ? get_query_var('paged') : 1; $temp = $my_query; $my_query = null; $args = array( 'post_type' …

Member Avatar for baig772
0
214
Member Avatar for rjony321

Hello,I am starting PHP.So please help me.This code for a simple convertor in php just convert Dollar to local currency.here my **Elseif** not correctly working.here is code: <html> <head> <title>currency Convert</title> </head> <body> <form action="" method="POST"> <table> <tr> <td> <lebel>$</label> <input type="text" name="amount"/> to <select name="form"> <option value="taka">taka</option> <option value="rupe">rupe</option> …

Member Avatar for Bachu
1
204
Member Avatar for baig772

I have a search form, in which a user enters a keyword and it displays the results with the keyword in description as highlighted text, for highlighting, i have used another class on that keyword. problem is that, if there is a keyword in some hyperlink or in some <img> …

Member Avatar for baig772
0
225
Member Avatar for Jiggles.X

Hi every one. I have a bit of a problem/ headache. I am trying to make a dropdown style menu for a website that runs off a CMS I made everything works fine but I can for the life of me get the menu system to work! This is the …

Member Avatar for Jiggles.X
0
106
Member Avatar for baig772

I have the following table structure of my db: * tbl_project * tbl_employee * tbl_deliverable * user_to_deliverable as tbl_prjct and tbl_deliverable has 1-many relation, tbl_employee and tbl_deliverable have many-many relation so they are splited into user_to_deliverable table All i want is that a query to show project_name(from tbl_project), project's deliverables …

Member Avatar for baig772
0
121
Member Avatar for bulqr4eto

Hello everyone, I have a website with admin panel...the admin can upload news and I want the users to be able to submit news like me but after theyr news are reviewed and approved from me how can I do this I will show my upload script from the admin …

Member Avatar for baig772
0
334
Member Avatar for akuvidz

as the thread name $query2= "alter table employee_leave_quota auto_increment= LAST_INSERT_ID()"; That is my query to reset auto_increment in my table, but it show error.. anybody know how to do it?

Member Avatar for pritaeas
0
166
Member Avatar for flourishit

I want to creat a blog for my site, which is hosted on windows server. Can we host a wordpress site or blog on windows.

Member Avatar for baig772
0
156
Member Avatar for baig772

i am having a problem, i downloaded the project from dev to my local, though it is running fine on dev but on local, it says me the following error Fatal error: Class 'DB' not found in F:\xampp\htdocs\timesheet\index.php on line 9 my index.php is <?php session_start(); error_reporting(1); include_once('classes/db.php'); include_once('classes/functions.php'); //========================================== …

Member Avatar for baig772
0
7K
Member Avatar for daisy.m.consolacion

how to upload photos with its description and when you clicked the photos it will appear the photos together its description that can be edited by an administrator in php code

Member Avatar for daisy.m.consolacion
0
115
Member Avatar for baig772

i have an alert box which i want to show some icelandic text but its not showing it <script> function check() { alert("Þú verður að vera skráð/ur inn til þess að senda skilaboð"); } </script> it is showing the alert box but the text is messed up :( **Þú verður …

Member Avatar for baig772
0
243
Member Avatar for AjixPreston

I have a problem... I mean it looks good, but It's erroring up...? while($row = mysql_fetch_array($result)) { $fav = 0; $stop = 0; $id = $row['id']; $title = mysql_escape_string($row['title']); $body = stripcslashes(nl2br(mysql_escape_string($row['body']))); $time = date("n.j.Y", $row['timestamp']); $result1 = mysql_query("SELECT * FROM favoriteposts WHERE ip='".$_SERVER['REMOTE_ADDR']."' ORDER BY blogid DESC") or die(mysql_error()."<br><br>Please …

Member Avatar for scarcella
0
112