39,316 Topics

Member Avatar for
Member Avatar for Ibrahim_8

I need help with Php forms. I am trying to insert at least 2 & a Max of 3 team players data to MySQL for registration purposes. By using a loop to get the 3 form values and iterate until data is stored in the tables First Table is Players …

Member Avatar for diafol
0
283
Member Avatar for opelio4n

Am a beginnerr in PHP but am presently working on a reporting software that should enable different staff to submit there report. Areas i need help. 1) There are 7 companys that will submit there report on this software. need to know how the database will be structured. 2) How …

Member Avatar for diafol
0
168
Member Avatar for phoenix254

Hi everyone, i need help here.. i want to calculate age of user.... but i am getting this error ****Catchable fatal error: Object of class DateInterval could not be converted to string in C:\xampp**** while($row=mysqli_fetch_assoc($data)) { $date=$row['Dateofbirth']; } $dob= new DateTIME($date); $interval=$dob->diff(new DateTIME);

Member Avatar for phoenix254
0
106
Member Avatar for janicemurby

hi i have the following error in my sent message file Warning: date_diff() expects at least 2 parameters, 1 given in /home/letsswin/public_html/sent_mail.php on line 146 Show Heres code section for error <?php $lastlog = mysql_fetch_array(mysql_query(" select * from user_lastlogin where online_status = '1' and user_id = '".$user_id."' ")); $start_date = …

Member Avatar for janicemurby
0
327
Member Avatar for ribrahim

Hello, I have two mysql tables, the first one for salutation (salutationId, SalutationTitle) and the second one for clients (Id, FirstName, LastName, salutationId) . I can do the dropdown list from salutation which contais (Mr., Ms. ...etc) in a regitration form and insert the data to mysql without problem. Here …

Member Avatar for blueshiftdani
0
263
Member Avatar for younes.keraressi

Hi, i got a problem in my websever, i am using lastest version of uniform server on microsoft windows 2008 r2 , but the problem is the httpd crash i searched for the solution some1 tells that i should use sfc/scannow , i did it same problem , and details …

Member Avatar for younes.keraressi
0
323
Member Avatar for kadriirdak

Hi, I have a range of *start* and *end* dates return from database in while loop i need to find, how many of them are continuing. The example return data; Array ( [start_date] => 2014-09-22 [end_date] => 2014-09-28 ) Array ( [start_date] => 2014-09-15 [end_date] => 2014-09-21 ) Array ( …

Member Avatar for kadriirdak
0
268
Member Avatar for JasonWung

Hi, I have this situation while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ $images[] = [ 'image' => $row['image'] ]; } function image_html($image) { return '<img src="' . $image['image'] . '" class="img-responsive" />'; } echo '<div class="small-box"> '. image_html($images[0]) .' </div> <div class="small-box"> '. image_html($images[1]) .' </div>'; // some more divs Is it possible …

Member Avatar for ryantroop
0
196
Member Avatar for cristian.stilpeanu.1_1

hello, after I fill the contact form, I get the message that was sent successfully, but my email receive error: A message that you sent was rejected by the local scanning code that checks incoming messages on this system. The following error was given: Erorare reference : This email was …

Member Avatar for cristian.stilpeanu.1_1
0
519
Member Avatar for reminem

Hello everyone, I'm creating a simpel survey tool'. When people insert the question, they can also what kind of question type (checkbox or radiobutton) Adding question and types in the mysql is oke.. I have a problem with showing the type & question Problem: the questions only show if I …

Member Avatar for reminem
0
267
Member Avatar for Sophia_1

Hi, i have problem to save record and send email in php. After selecting the responsible person, the system supposed to save the responsible person in the database and then send email to notify the responsible person on his progress. The coding is below but it doesn't work. Please kindly …

Member Avatar for cereal
0
580
Member Avatar for Jake.20

Greetings Pros, I just want to ask how can i format a certain string to italic. I have this code but it's not working. Well I know it will not work because the array is still in array format not in string yet. Right? $(document).ready(function() { //The demo tag array …

Member Avatar for Jake.20
0
376
Member Avatar for punji

I'm trying to query from two tables but whenever i run my php script i get this error, any help would be highly appreciated Database query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to …

Member Avatar for punji
0
221
Member Avatar for Mimismliey

Well I am quite new to database and I need help to study it effectively

Member Avatar for diafol
-1
64
Member Avatar for hussain_786
Member Avatar for shashigowda

this is my shash.html page <!DOCTYPE HTML> <html> <head> </head> <body> <form action="shash.php" method="post"> Name:<input type="text" name="username" id="username"> <span class="error">*<?php echo "$nameError" ; ?></span> Password:<input type="password" name="password" id="password"><br> Email:<input type="text" name="email" id="email"><br> <input type="submit" name="submit" value="submit"> </form> </body> </html> this is my shash.php page <?php $nameError=""; $name=""; if(isset($_POST['submit'])){ if (empty($_POST["username"])) …

Member Avatar for edbr
0
337
Member Avatar for UK-1991

Hello, I have created a select product using a different way like frst we select product from dropdown and click on next button on next page the dropdown have to show the company names i.e only that companies which belongs to the selected product but i am bit confused how …

Member Avatar for UK-1991
0
150
Member Avatar for janicemurby

hya im trying to populate a drop down select list from the database i have set the database up and written the following out if anyone can help would be much appreicated // Fetch user details $userdata = mysql_query("select * from user where user_id = '".$_SESSION['userid']."' "); $fetch_user = mysql_fetch_array($userdata); …

Member Avatar for lps
0
267
Member Avatar for malatamil

my website is like domain.in if i open this website the innerlinks are showing like domain.in1/. My domain is registered in godaddy.com, and their is no source link like domain.in1/about/. so please anyone help me to solve this issue.

Member Avatar for diafol
0
70
Member Avatar for Sutarusu

My site is giving me a 500 internal error. In the data.php file it is asking for a few things: //db access info $sql_host='';//host $sql_user='';//db user $sql_pass='';//db pass $sql_db='';//db name //path and url $base_path="";//full path to script $main_url="";//url to the script $cookie_url="";//the domain name of your website without http://www The …

Member Avatar for pritaeas
0
895
Member Avatar for Arjay Joseph
Member Avatar for edbr
0
110
Member Avatar for Nitin_8

Hi i would like to fetch images from name of the image by which i have stored the image from the upload folder. how can i do it in wordpress.

Member Avatar for diafol
0
281
Member Avatar for Trabelsi

Hi, i need to create a people service management application military entreprise.This application must display the list of all the services to be performed, when i click on a service, a list of all people displays with check boxes so i select the persons concerned and finally i have to …

Member Avatar for diafol
0
230
Member Avatar for Prince_9

How can I convert this Ruby Gem to PHP? token = "your_nypl_api_token" client = NyplRepo::Client.new(token) ``` ``` token = "your_nypl_api_token" options = {:debug => true, :server_url => "http://api.repo.nypl.org/api/v1"} client = client = NyplRepo::Client.new(token, options) Also url = "http://api.repo.nypl.org/api/v1/items/8568ccd0-c614-012f-1d74-58d385a7bc34.xml" uri = URI.parse(url) http = Net::HTTP.new(uri.host, uri.port) headers = { "Authorization" => …

Member Avatar for cereal
0
754
Member Avatar for phoenix254

Hi everyone, Is there any way to redirect page without header and javascript ?

Member Avatar for phoenix254
0
258
Member Avatar for Mohamed Hakkim

Hai, Am try to create a autocomplete in my project it was not fix it in particular place so many struggle to make it,Hope you people might give any idea to do it on right way.I need a code in this format like when user enter a value it take …

Member Avatar for stbuchok
0
92
Member Avatar for jay.barnes

Hi, all I'm working on a website that is comprised of two iframes within several nested divs ( the frames named "frame-menu" and "frame-main"). Displaying as such: <div id="wrapper"> <div id="header">Header text/image goes here</div> <div id="menu"><iframe name="frame-menu" id="frame-menu" src="menu.php" frameborder="0" height="30"></iframe></div> <div id="main"><iframe name="frame-main" id="frame-main" src="login.php" frameborder="0" width="878" height="700"></iframe></div> <div …

Member Avatar for diafol
0
584
Member Avatar for ravi142

Hello, I am use this plugin https://wordpress.org/plugins/new-user-approve/ But in that there is no email notification given to admin when user approved. Is any solution for that. Thanks

Member Avatar for ravi142
1
384
Member Avatar for AntonyRayan

Hi everyone, I am creating a invoice page, for that in the invoice table I have fields like(id, ionvoice_no, invoice_date,client_name,address,service_cost,tax,etc). While I enter invoice, I don not want to enter invoice, but it should change automatically from 1 previously it has to check whether already invoice number is or not. …

Member Avatar for mangel.murti
0
6K
Member Avatar for Hitesh_2

Dear frnds.. i want to devlope a website in php for school results, website as like as indiaresult.com. But i m not getting how its database should be developed. so pls help me and share your think about it... thank you HITEsh

Member Avatar for cereal
0
232

The End.