10,940 Topics

Member Avatar for
Member Avatar for PoroUsedSnax

Hi All, I'm currently designing a website for my business and would like to have a system that pulls products from my database via PHP and adds them to my products section, but I'm unable to find anything that explains how to do it for the kind of setup I …

Member Avatar for diafol
0
443
Member Avatar for UI

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!

Member Avatar for UI
0
131
Member Avatar for UI

<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 …

Member Avatar for diafol
0
572
Member Avatar for abubaker_2
Member Avatar for jeffersonalomia

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?

Member Avatar for pty
1
367
Member Avatar for Dylan_11

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 …

Member Avatar for abubaker_2
0
556
Member Avatar for Dylan_11

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 …

Member Avatar for diafol
0
1K
Member Avatar for janicemurby

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 …

Member Avatar for janicemurby
0
250
Member Avatar for berserk

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 +----+----------+-----------------+---------------+-------------------+ …

Member Avatar for Traevel
0
721
Member Avatar for Sarbjit
Member Avatar for diafol
0
343
Member Avatar for Rajyalakshmi_1

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.

Member Avatar for vsmash
0
89
Member Avatar for skullscript

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 …

Member Avatar for skullscript
0
550
Member Avatar for cereal

Hello, so, I'm playing a bit with **MariaDB 10.0.29** and I cannot understand why `FOUND_ROWS()` keeps returning the `1` whatever happens to the latest select query. Here's my test: > CREATE TABLE `test` (`id` INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, `msg` VARCHAR(100) NULL) ENGINE = InnoDB; Query OK, 0 rows affected …

Member Avatar for cereal
0
3K
Member Avatar for vivekH

how to export my table data which is in mysql database to a csv file I am not getting any error or exception but my csv file is empty after successful running this code. code what i did: import java.io.FileWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.sql.ResultSet; import java.sql.SQLException; …

Member Avatar for aditya_20
0
12K
Member Avatar for MERIN_1

TABLE_ROWS 13 1 8 5 2 3 5 2 7 6 3 4 3 32 my select query results a table like this .Here i want to assign each item to each variables . a=13 b=1 etc... i tried with forech but i did not get out put.Here is my …

Member Avatar for broj1
0
334
Member Avatar for Dani

How can I do a bulk insert of rows but only if specific combinations of columns don't already exist? Those columns are not unique to the table. (Otherwise I could easily use INSERT IGNORE). Rather, I just need this to happen for one particular SQL query.

Member Avatar for Geek-Master
0
407
Member Avatar for gentlemedia

I'm trying to retrieve the values of checkboxes in a custom post type. My complete function: function getTeam() { global $post; $team = new WP_Query(); $team->query('post_type=coaches'); $workshops = get_field('workshops'); if ($team->found_posts > 0) { echo '<ul>'; while ($team->have_posts()) { $team->the_post(); $listTeam = '<li>'; $listTeam .= '<a href="#" class="js-modal">'; $listTeam .= …

Member Avatar for gentlemedia
0
414
Member Avatar for aayush_2

Hello Sir, I am developing social networking website using jsp and servlet . I have created login page using mysql but now i am not able to make posting status and commenting system on that post.Please provide me solution. thankyou aayush

Member Avatar for rproffitt
0
1K
Member Avatar for genieuk

Hi, Not done any programming for a few years so am somewhat rusty again. I have two tables **users** table and **users_profiles** table. I want to update **users_profiles** table on the condition that **user_uid** matches on both tables (**users.user_uid** and **users_profiles.user_uid**) and where **users.user_login ** = 'johndoe' and **users.user_uid** = …

Member Avatar for genieuk
0
760
Member Avatar for iriah

Can Somebody help me? i have an error whenever i want to save the data i have retrieved from different table in mysql. my system is doorlock system. im going to choose an item in the combobox and when i click the button, the data i'd chose from the combo …

Member Avatar for Mr.M
0
5K
Member Avatar for gentlemedia

Ok... back to my PHP/Wordpress adventure. In my testimonials post type I have added 5 custom fields and 2 fields are not mandatory which means they can be empty. One of them is the url field which I want to output within my while loop with a different HTML when …

Member Avatar for cereal
0
2K
Member Avatar for AndreRet

Hi to all the old familiar faces, have not been here for a while... I have read up on tons of samples and answers (and even more on how cryptography works) but none answers my scenario. I am creating a new user from desktop app in VB.Net. User need to …

Member Avatar for AndreRet
0
572
Member Avatar for mattyd

I want to collect basic user information when they land on an index page, such as: IP Country City State Zip Code I've looked into sites such as ipinfo.io that offer a service regarding these details, but think it may be easier to collect the same info via PHP. From …

Member Avatar for Dani
0
442
Member Avatar for amith_ami

I have affiliate api of amazon,ebay,flipkart and snapdeal. I want to combine all api results to my web page with pagination. Like this website https://www.compareraja.in/mobiles.html If possible please suggest any ideas. I am using opencart for development.

Member Avatar for cereal
0
471
Member Avatar for shany0786

I have scenario where one user can refer two codes to other one will become right and other left.Now this right can have two child left and right and so on same for left child user.... So this is binary tree like strucutre so i am selecting a user from …

Member Avatar for shany0786
0
348
Member Avatar for Adolf_1

I am building a system that will take about 20 million records. I am confused, if I should put all these records in one table or I should split it among severals tables to speed up the performance.

Member Avatar for Adolf_1
0
168
Member Avatar for Dani

Why was `INSERT DELAYED` deprecated? https://dev.mysql.com/doc/refman/5.7/en/insert-delayed.html I used to use it and it was incredibly useful.

Member Avatar for rch1231
0
285
Member Avatar for Dani

I have an InnoDB table called `articles_read` with fewer than 20,000 rows in it. It consists of 3 columns: member_id article_id timestamp There are two indexes: A unique index on (member_id, article_id) and a regular index on (timestamp). It is read from fairly more than it is written to, and …

Member Avatar for pty
0
259
Member Avatar for Akshay_5

I have a database with only one table which has around 2 Million rows and 60 columns. I created a php application with multiple search filters like name, country, state, surname, domain etc which will filter and display the result in HTML table. But the problem is, every text field …

Member Avatar for john_111
0
2K
Member Avatar for shany0786

Hello every one i am having one doubt i have a set of links[url].Now there is pave ackages like 6 links,25 links package. if two user select 6 link each day and both will have same links[url] .now i when user log in then on adversitment page he visit each …

Member Avatar for shany0786
0
718

The End.