39,323 Topics
| |
how to create a check vote box poll with php scripts and html ??? plx someone help me!! | |
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 … | |
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[]" … | |
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: … | |
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); … | |
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. | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
$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 … | |
**-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. | |
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 … | |
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; … | |
<?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> … | |
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 … | |
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 … | |
how to link data base delete button to the website delete button | |
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 … | |
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 = … | |
I want to make option to approve users before they can login or to ban them. can anyone provide me the code | |
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 … | |
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;" … | |
<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"> … | |
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 … | |
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 … | |
**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' … | |
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 … | |
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"]; … |
The End.