39,388 Topics
![]() | |
Hi all you php buffs. Out of simple curiosity I thought I would take a look at php. I've been programing since I joined IBM as a trainee developer in 1969, so I have some familiarity with programming in (eg) 360 assembler, APL. PL/I, ... , Smalltalk, Java, Swift. (I … | |
i want to post some data to my web , i am entering data to a textarea in my page and pressing submit and it will inserted in to my database the data i typed is follows 1)Adobe Dreamweaver 2)Microsoft but When i tried to display that it is showing … ![]() | |
Fellow Php Buds, Do you mind telling me, according to you: 1. How many variables are listed below ? And, 2. How many numerically Indexed Arrays ? $employee_array[0] = "Bob"; $employee_array[1] = "Sally"; $employee_array[2] = "Charlie"; $employee_array[3] = "Clare"; Thank You | |
I am trying to populate the data in a modal via AJAX, but i am unsure how to do so. The link right now is `<a href="viewmessage.php?id='.$row['ID']'">View</a>` Since there is only 1 Message in the Database, the number is 70. I have seen multiple things online but I am not … | |
please help me cause I am totally lost on this one. I am trying to fetch the results from a database that has the data inserted in a weird way. The IDs are not unique, thus I have multiple values with the same ID in the ID column. I am … | |
I am new here... I am facing a problem in inserting data into database through php. "Connection is established properly." Error is:-error in your sql syntax, correct your query. $firstName = $_POST['firstName']; $lastname = $_POST['lastname']; $contact =$_POST['contact']; $sex = $_POST['gender']; $dob = $_POST['dob']; $email = $_POST['email']; $country = $_POST['country']; $expr … ![]() | |
How to create a website by pressing a button? With one button "create a website" while the user press that button it will create another website which is exactly the same like the first one. The only difference is that it will allow the user to select any name as … | |
Hello, I would like to know if posting article location can be automatic like android - facebook posting article. Like the computer would know where the location of posting would be? Is that possible? Thanks in advance. | |
<html> <body> <?php /* First method to create array. */ $numbers = array( 1, 2, 3, 4, 5); foreach( $numbers as $value ) { echo "Value is $value <br />"; } /* Second method to create array. */ $numbers[0] = "one"; $numbers[1] = "two"; $numbers[2] = "three"; $numbers[3] = "four"; … | |
Hi ! I want to edit a wordpress theme and add an image to the header.php ( line 74 <a href="http://www.yourlinkhere.com"><img src="images/AJTFixPreisBanner.jpg"></a>) but i only get the image broken down sign when when i go online. Is it because i do not insert the picture with a php function ? … | |
Hi I am trying to populate textbox value based on releated textbox value like that of (Country and State) using dynamic row formate. I can able to populate a value for only first row, if i tried ti for second row its again overwrite the first row and also i … | |
i think this site is broken cause 1 spent half an hour trying to post code one of the reason why i left stack over flow ![]() | |
**my table contains both urls(http://) and email addresses. Using PHP, I want to take different actions depending on the current record and dont have a clue. any advice? thanks** | |
Hi, Does anyone have a clue why I get the following error in my further following code ? Notice: Use of undefined constant RETURNTRANSFER - assumed 'RETURNTRANSFER' in C:\xampp\htdocs\test\curl.php on line 27 Warning: curl_setopt() expects parameter 2 to be integer, string given in C:\xampp\htdocs\test\curl.php on line 27 You are welcome … | |
<html> <head> <title>demo</title> </head> </frameset cols="20%,80%><frame src="lifthtml"name"="lframe"/> </frameset cols="20%,80%><frame src="righthtml"name"="rframe"/> <frameset> </html> | |
Guys, Have you seen those viral social network SHARING scripts or viral social network LIKING scripts or viral content locking scripts or viral contest scripts ? You know the ones that force you to LIKE or SHARE a webpage in order for you to unlock the remaining content of the … ![]() | |
hello everyone , i have follwoing table structure check_id(pk) | user_id(fk) | check_in_time( timestamp ) | check_out_time( timestamp ) | is_checked_out(0 or 1) | checked_by | family_id now i want to calculate average of all checkIn and checkOut of user per day and then plot these data in graph this … | |
Hi, i tried to install php project in localhost using xampp and encounter the error below. Please advise how to solve the issue. Thanks. A PHP Error was encountered Severity: 8192 Message: Function mcrypt_get_iv_size() is deprecated Filename: libraries/Encrypt.php Line Number: 338 A PHP Error was encountered Severity: 8192 Message: Function … | |
Good morning, On my localhost, suddenly all of my php files are looking like this format  What is this? Is it hacker attack? How to stop this action in future. Please help | |
Hi everyone, tried to send email from localhost using smtp mail function but unable to do so. The error is "Could not instantiate mail function. Mailer Error: Could not instantiate mail function." Appreciate if you could advise how to solve this issue? Thanks. require_once "PHPMailerAutoload.php"; $name = $row['name']; $email=$row['email']; echo … | |
Hi everyone, i have a page that uses jquery ajax to get json from another page. However, instead of the ajax using sucess, it goes directly to error. I have a debug on the error to see what is the issue and i get "Parsing JSON Request failed." page 1.php … ![]() | |
Good Weekend Folks! I have a question. I do not understand how php knows how to define this variable $value in the following example since it has not been declared. How does it know what that variable represents since no reference or pointer has been assigned to it ? Strange! … ![]() | |
I am using OS Ticket and I have another site for Members Area,I am trying to join the 3 tables that have the information that corresponds to the customer by EMAIL. the first table is:qbcd_ticket: ticket_id | number | user_id | user_email_id | status_id | dept_id | and more... 5 … | |
Hi, Imagine there is a tbl called "users" and it has a column called "your blog url". Now, imagine you want to display that blog's url in an iframe on one of your pages. How would you code it ? I did the following but the iframe fails to load … ![]() | |
I have a one day old Macbook Pro. I tried to install PHP Zend Studio (which is what I use to code in). Everytime I try to run it for the first time after dragging and dropping it into the Applications folder, it crashes and this is what I get: … | |
Sir I have this fiddle [Click Here](https://jsfiddle.net/614ft20d/49/) I need When I enter Rate and Qty then it must display Amount automatically. Add and Remove buttons work fine already. Want to know only calculation method. Please help  ![]() | |
I need to separate the questions to atleast up to unemployment and after clicking the button it will go to another page and it resume the user from answering the question.. Thanks in advance.. <?php include('connection.php'); ?> <?php session_start(); if(!isset($_SESSION['id']) || $_SESSION['privilege'] != 'user'){ if(session_destroy()) // Destroying All Sessions { … ![]() | |
Hello, i'm new in PHP so i dont know much about it so ill need a little help with this "eazy" problem. I need to calculate the total price of the items on selected radio button and checkboxes . here is my code: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Show … ![]() | |
I want to make a member login system which every member has its own database, when a user is registered successfully i want to create his special database. please help me the database creation code if you can Thank you Ali-Yare Mohamed | |
![]() | so i've been trying to do this multiple times but stil didnt get the answer. i have a column named closed in my database and close button in my view, whenever i click the button close, i want it to update my closed column to '0' if it is closed … |
The End.