39,323 Topics

Member Avatar for
Member Avatar for aixlu
Member Avatar for Natalia_3
0
3K
Member Avatar for James_90

Hi all - also new to PHP/SQL and have a different question on a similar question posted - I need to create a page in php that allows the user to select a date range to and from. Howver, the date stored in the database is unix such as 1494548767 …

Member Avatar for Amelia_4
0
2K
Member Avatar for Dilawar_1

Actually i want to add both the values of ids 2 and the ids 3 <form method="post" name="fo" action="#"> <input type="text" name="ids[]" value="2"/> <input type="text" name="amount[]" value="100"/> <input type="text" name="ids[]" value="3"/> <input type="text" name="amount[]" value="200"/> <input type="text" name="ids[]" value="2"/> <input type="text" name="amount[]" value="300"/> <input type="text" name="ids[]" value="3"/> <input type="text" name="amount[]" …

Member Avatar for john_111
0
404
Member Avatar for davy_yg

Hello, I am trying to learn the basic of Installing CRUD Booster in Laravel. I wonder how to create the databases? I cannot understand the manual. http://crudbooster.com/doc/5.3/intro I am getting this error when trying to run: http://localhost/crudbooster/public/admin/login ErrorException (E_ERROR) SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: …

Member Avatar for davy_yg
0
2K
Member Avatar for NA

i want to show my graph values but its show null output. i show you in image output also // JavaScript Document $(document).ready(function(){ $.ajax({ url: "data.php", method: "GET", success: function(data) { console.log(data); var playerid = []; var score = []; for(var i in data) { playerid.push("Player " + data[i].playerid); score.push(data[i].score); …

Member Avatar for stultuske
0
355
Member Avatar for Rabeya_3

I want to check whether a fiverr user name exist or not. for example https://www.fiverr.com/samori will return true but https://www.fiverr.com/samorissss will return false. I tried using @get_headers($file) but it always return false for any urls Can anyone please help me.

Member Avatar for rproffitt
0
335
Member Avatar for Lloyd_4

I have a url that contains variables - For Example: reset/password.php?var1=12345&?var2=abcde I would like to know how I can remove (hide) the variables from the url, So no one knows with the values are - But still use them on my page? I am creating a password reset for a …

Member Avatar for abubaker_2
0
259
Member Avatar for mexabet

I'm trying to create an online learning courseware and connecting to MySQL database via PDO. What I'm trying to achieve is: if a user is logged in after registering for a particular course, the courseware should display the registered course, as well as its course weeks. I want each course …

Member Avatar for broj1
0
355
Member Avatar for SimonIoa

Hello i want to access my SQL database with a Android Studio Emulator. I use `ionic cordova run android` and the project/app begins correctly but when i put the credentials (username and password) it stucks there. It works fine when i use `ionic serve` Any hint?

0
262
Member Avatar for janicemurby

Hi i have several user types i.e female, male couple etc and when they register each group goes to there own page for profile setup but when they login they go to one standard profile page that came with script how would i redirect them to there own profile page …

Member Avatar for broj1
0
210
Member Avatar for Mr.M

This may sound confusing but I have a textbox which is a cell number textbox and I want when the max length of 10 has been reached then fire the php code which is inside the same html page as form and this php code will then get the value …

Member Avatar for Mr.M
0
6K
Member Avatar for Arjen_2

$count1 = array(); $count1[0] = " 1"; $count1[1] = " 2 1"; $count1[2] = " 3 2 1"; $count1[3] = " 4 3 2 1"; $count1[4] = " 5 4 3 2 1"; $count1[5] = " 6 5 4 3 2 1"; for ($b = 1;$b <= 6;$b++) { echo …

Member Avatar for ryantroop
0
445
Member Avatar for marshall_1

**-EIQ Studio's-** is looking for new/semi-new web developers looking to further their skills and experience in Web Development by assisting the Community with our Website. Once completed, A percentage of all profits that come through the website will be awarded to the developers.

Member Avatar for jwenting
0
235
Member Avatar for Peter_68

Hey guys: I am trying to make this form to clear after being submited. As it is now the form submits, however, the input fields do not clear and when you refresh the page it ask you if you want to resubmit. Can anyone help? <?php // Message Vars $msg …

Member Avatar for benanamen
0
3K
Member Avatar for NA

hi i used this simple form which are these..but i want to protect password from oracle database if user enter wrong name and password then not login otherwise login <!DOCTYPE HTML> <html> <head><br> <style> .error {color: #FF0000;} </style> </head> <body style="font-family: verdana, sans-serif;";> <hr /> <div style="width: 77%; height: 300px; …

Member Avatar for rproffitt
0
403
Member Avatar for Ricky_8

<?php require('db.php'); include("auth.php"); $id=$_REQUEST['id']; $query = "SELECT * from new_record where id='".$id."'"; $result = mysqli_query($con, $query) or die ( mysqli_error()); $row = mysqli_fetch_assoc($result); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>View Records</title> <link rel="stylesheet" href="css/style.css" /> </head> <body> <div class="form"> <p align='center'><a href="index.php">Home</a> | <a href="view.php">View Account</a> | <a href="logout.php">Logout</a></p> …

Member Avatar for patk570
0
360
Member Avatar for Sameer_10

Hi Friends i am trying to isert this data to mysql database. However I cannot get this done because I do not know what is happening. I would appreciate any help. This is the code <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> </head> <body> <div id="wrapper"> <div class="box-header"> <h2>NEW …

Member Avatar for patk570
0
176
Member Avatar for Mr.M

Hi everyone. I'm having a very seriouse problem where I have a textbox and I want a button and I want to take whatever a user type in this textbox/textarea and set it to the `data-name` which is a button's parameter. Here is the codes. Textarea: `<input type="text" id="dCell" value="Cellphone …

Member Avatar for gentlemedia
0
444
Member Avatar for Saif_10
Member Avatar for mexabet

I'm creating an online learning courseware using PHP 5.5 and connecting via PDO. But I'm confused as to how to get the courseware to work, as I want. This is what I've done: I created a table for students and named it "users" and another for courses and named it …

Member Avatar for mexabet
0
388
Member Avatar for ibrsbk

Hello, I'm not able to display the whole select result information in the table and I have no idea what I am doing wrong, I would appreciate your help so much. So here's my code: <?php $DBServer = 'localhost'; $DBUser = 'root'; $DBPass = ''; $DBName = 'world'; $conn = …

Member Avatar for rpv_sen
0
2K
Member Avatar for Ravi_39

I want to make option to approve users before they can login or to ban them. can anyone provide me the code

Member Avatar for rproffitt
-2
93
Member Avatar for Magic8Computing

I have two values in my code one is from a SQL Server query echo to the screen as formattedNum10d my second value is stored in a MySQL database and echo to the screen as formattedNum10f. In a seperate column i would like to subtract foramattedNum10f from formattedNum10d and echo …

0
162
Member Avatar for davy_yg

Hello, This is Laravel. After inputting the profile_info I wonder why after checking the dd($here) the result remains the same. I expect it to change the same just like the value that I input. setting.blade.php <div class="setting-box profile-open"> <form role="form" id="form_update_profile_info" method="post" action="{{action('AjaxController@postUpdateprofileInfo')}}"> <div class="form-group"> <div class="col-group"> <textarea style="height: 150px;" …

Member Avatar for pty
0
264
Member Avatar for Mohammad_41

<div class="content" style="margin-left:17%;"> <div class="box box-warning" > <div class="box-header with-border" style="margin-left:20%;"> <h3 class="box-title">Add Package</h3> </div><!-- /.box-header --> <div class="box-body" style="margin-left:9%;"> <div class="row"> <div class="col-md-10" > <form action="" method="post" accept-charset="utf-8"> <div class="row" > <div class="col-md-6"> <div class="form-group"> <label for="varchar">Name </label> <input type="text" class="form-control" name="name" id="name" placeholder="Name" value=""> </div> </div> <div class="col-md-6"> …

Member Avatar for alan.davies
0
340
Member Avatar for Sana'a_1

Hi, I'm trying to copy the data from a table in one database to another table (with the same fields of the origin table) in another database. And this is my code $con= mysqli_connect("localhost", "root", "") or die("error"); $sql="insert motcenter.d select * from mot_hrms.d "; $result=$con->query($sql); But nothing happens when …

Member Avatar for Sana'a_1
0
393
Member Avatar for Unknown_2

For example, in Facebook, if you enter someone's profile you can see all the user's data. I know how to get the logged in user's data. But what I don't know is how to get every single user's data and show them. I searched a lot and all what I …

Member Avatar for mexabet
0
836
Member Avatar for arnold_5

**how to automatically sum the scores that is being inputted in the textbox and display to the specific rows of textbox** > this is my code for inputting score while ($students = mysql_fetch_array($result)) { $total = $students['fld_quiz1'] + $students['fld_quiz2'] + $students['fld_quiz3'] + $students['fld_quiz4'] + $students['fld_quiz5']; echo '<tr>'; echo "<td>{$students['id']}<input type='hidden' …

Member Avatar for benanamen
0
192
Member Avatar for Marco_5

Hello Guys, So im a student at 12 grade and im trying to build a website from scratch and i've been successfull until now, i've been stuck in this error for 2 or 3 days, i cant send the text area + other input to database at the same type …

Member Avatar for benanamen
0
339
Member Avatar for Rajendra_2

hi, i am new to php. I am trying to fetch the image stored in database by using mysqli but couldnt fetch it. Please help me with this. Please find the code and let me know where i am lacking... <?php $link = mysqli_connect('localhost','root','','db_image') or die(mysqli_connect_error()); if(isset($_POST['btn_submit'])){ extract($_POST); $file_name=$_FILES["image"]["name"]; $file_tmp=$_FILES["image"]["tmp_name"]; …

Member Avatar for AndrisP
0
387

The End.