39,388 Topics
![]() | |
Hi, I am using php 7 and I do not know why the following 2 different codes for user the user registration page is not working.*The login page php is working, though. I would appreciate the communities feed-backs. Thank You! | |
<pre>Hi, I'm a beginner in php. Starting my learning at php 7 and not 5 or earlier. I don't understand why php 7 is acting weird. It give different result at different time. Do you guy mind checking if I got the coding wrong or if I've come across a … ![]() | |
I have found a source of and aledged xml file (although it is named as solarxml.php, when I download it the data that I want is there, i.e. solarflux, aindex, kindex and sunspots, but I have no idea how to determine how to extract the 4 data fields I want, … | |
Pls i want to how to embed another laravel application into another. Something like the url/admin. Am able to access the url/admin though but all other urls still run back to the main url. Thnaks ![]() | |
im asking can it be done??! with example plz thanks | |
How do facebook, twitter, and other social media app store the data of the user's chat history or chat log? Is it on the database or on a separated file? How can i create a professional chat application on my website? | |
Iam doing library project in php,mysql. Library user should have alert message for expiring their book return date. So,I need to send an auto generated notification email before 2 days to multiple person's mail address. Please help me to complete this task. ![]() | |
HI, I have the below php code that i am attempting to use to search the database for a value that has been inputted in the form. This connects to the database and works fine but brings back no results. I found the following error: Warning: mysqli_num_rows() expects parameter 1 … | |
hi all ive got a file to display info from database and im trying some way to fetch username from another table for it i have put this at top of file. <?php $query = mysqli_query($conn,"select * from user"); $fetch_user = mysqli_fetch_array($query); ?> and here is the section for displaying … | |
HI, I have attempted to put a login page on to my web page that i am developing as a learnig curve. I am almost there i think, i have created a table in my database that stores the username and passwords and i have a php script that i … ![]() | |
controllers/Cspages.php public function index() { $this->load->helper('url'); $this->load->model('gallery_model'); $pic_unique_id = 18; // slider $data['pic'] = $this->gallery_model->get_picture($pic_unique_id); $this->load->view('index', $data); } views/index.php <?php foreach($pic as $pic_item): ?> <img src="<?php echo base_url('assets1/images/slider/'.$pic_item->pic_item );?>"> <?php endforeach;?> models/gallery_model.php public function get_picture($pic_unique_id) { $query = $this->db->get_where('galleries_pictures', array('picture_unique_id' => $pic_unique_id)); return $query->result(); } Now the result is: A … ![]() | |
hi im attempting to add mysqli_real_escape_string into form to make more secure and after i added it in code below $event_type = $_POST['event_type']; $event_date = $_POST['event_date']; $event_country = $_POST['event_country']; $event_postcode = mysqli_real_escape_string($conn, $_POST['event_postcode']); $event_title = mysqli_real_escape_string($conn, $_POST['event_title']); $event_description = mysqli_real_escape_string($conn, $_POST['event_description']); $event_ltm = $_POST['event_ltm']; like so and go to fill … | |
hi, I'm new to PHP and mysql (so you're warned ;) ). i'm making a videogame database ( with XAMPP) and something goes wrong when I try to update my game data. It says the update went fine but the only all the spaces are now blank except for the … ![]() | |
SO Basically i have this problem with this test build of a little project im rewriting and so far its not looking to good I have multiple tables that are all the same, they have been set up this way for simplicity as far as i can tell. Tables +----+----------+-----------------+---------------+-------------------+ … | |
hi im struggling with this error see section below if anyone can help be much appreciated ty jan x <?php include("config/db_connect.php"); include("config/ckh_session.php"); // Inserting user Details code if(isset($_POST['submitmeet'])) { $event_title = addslashes($_POST['event_title']); $description = addslashes($_POST['description']); $insert = mysqli_query($conn,"update meets set event_type = '".$_POST['event_type']."' , event_date = '".$_POST['event_date']."' , stateid = … | |
Please i want to buy or get help on a software that can sort list of people who has paid in my group its a forum of payment and receiving and recieving vise visa. please can any body develop such software and how much will it cost. | |
Sir I have these codes [PHP] <form name="form1" action="<?php $_PHP_SELF ?>" method="post" enctype="multipart/form-data"> <p<Photo</p> <p><input type="file" name="file" id="file" value="<?php echo $myphoto; ?>"></p> <p><input type="submit" value="photo" name="save"></p> </form>[/PHP] and these are codes for submit button [PHP]if(isset($_POST['save'])) { if(isset($_FILES["file"])){ $myphoto=$_FILES["file"]["name"]; echo $myphoto; }else{ echo 'Error'; } } [/PHP] When I press save … | |
hi please do tell me how to convert a microsoft word to html document. In my appln the user will browse the microsoft word document,when a registered user tries to view the application loaded by the users of the website...it should display in html format.... ![]() | |
hi I am a newbie in PHP and is validating a form in PHP. I have an issue in this validation. The issue is that form validation is not working properly to the all of field.? // And thats my connection code <?php $conn = mysqli_connect("localhost","root","","alkame");//procedural connection // Check connection … | |
Sir I am using these codes on login.php session_start(); $query="select * from w_log where email ='".$muser."' and pass='".$mypass."'"; $result=sqlsrv_query($con,$query)or die ("Error". sqlsrv_errors($con)) ; while($res = sqlsrv_fetch_array($result)) { $_SESSION['id']=($res['id']); $_SESSION['sno']=($res['usno']); $_SESSION['user']=($res['name']); $_SESSION['status']=($res['status']); } //header("location:../index.php"); //exit(); echo $_SESSION['status']; $_SESSION['status'] is equal to GENERAL But when I call this variable at the top … | |
I want to make knew website but can under stand how to write it . so please help me out . ![]() | |
Hello i made a search box and i want to make a link what will pass the search word that the user put in the search box. e.g. http://localhost/myproject/allSearches.php?searchword=aa **aa** is what the user put for search. Now i want to get that, sort it and return the data. I … | |
I have a form that creats a json array from user input data. Array ( [full_name] => First Name + Last Name [company_name] => Company Name [email] => Email [free_trial] => trial (Yes/No) [quota] => quota [contract] => 0 (0/1) [per_gb] => cost per gb [per_month] => contract length in … | |
Hello, in a style css I have a reference to a horizontal rule background image: background: url(../wp-content/plugins/hrticulate/assets/hrs/hr-bluetooth-saw.png) repeat-x 0 0; no matter what theme I turn on (even the default WP themes) it will not display on the home page - however, it will display on any post/page/category or whatever … | |
Im trying to send an array using curl. I am brand new to curl. **How do I populate my array depending on form data?** I need full_name to pull data from the form. So email goes into email and company goes into company. Here is where I am right now. … | |
Hello, I have a problem with getting ip camera pictures in a browser from internet. IP camera is on address 192.168.4.44, port 5566 My computer is on 192.168.4.10. My router is on 192.168.4.1 and is registered on no-ip service. Also, I have port forwarded 5566 in my router. Xampp is … | |
In creating dropdown in my project encounters problems(errors). I'm very new to codeigniter. Please check and advise what is wrong with with my code? **Model** Public function get_region() { $return = array(); $query = $this->db->get('region')->result_array(); if( is_array( $query ) && count( $query ) > 0 ) { $return[''] = 'please … | |
Hi everyone.. I would like to know how to upload an image into mysql database using php. Can anyone please help me in this regards. | |
Hi Everyone Dont know if this is the right place to ask this but i Just wanted to consult anybody of you that might have an idea on what this core dump message means. Yesterday my website is down for almost 30 min and when i called the hosting provider … | |
Hi Everyone, I have a very strange issue with Posting a variable to a new page and reading the variable through GET - I have used the same code many many times on different pages but for some reason, I am unable to GET the Post variable to use and … |
The End.