php tag

128 questions


1 answers
1 views
0
To check for specific words

$a = 'How are you?'; if ($a contains 'are') echo 'true'; How do I check php for specific words in a string in this way?

6 days ago

2 answers
1 views
0
How do I replace open characters with
tags in a string?

I want to change all the open characters in the string to br tag. For example, "This is man. Man like dog. Man like to drink. Man is the king." I don't know how to use these strings "This is man<...

6 days ago

1 answers
2 views
0
How can I get the current year in php?

How can I get the current year in php?

6 days ago

1 answers
1 views
0
Database select query statement question.

<?php $dbc = mysqli_connect('127.0.0.1', 'root', 'apmsetup', 'sh') or die('Error Connecting to MySQL server.'); mysqli_query($dbc, "set names utf8;"); $title = $_POST['item_title']; $query = "...

6 days ago

1 answers
3 views
0
How do I insert the Bitmap file into mysql?

I am creating a mobile community application application.Currently, I logged in with Facebook and received the profile picture in Bitmap format.I want to save the member's information in mysql, but I ...

6 days ago

1 answers
1 views
0
Can the charset setting of the web page and the charset of the server and db be different?

We are currently creating a web page with mysql, phpapache on the hosting server. The charset of the server and mysql is set to utf-8. But the page files on the web page are set to euc-kr. The Web was...


1 answers
1 views
0
I'd like to implement push notification on the web messenger.

I made a website There is a chat function. I want to have a push notification on my PC when I get a message from the other person. (Like Kakao Talk) You want to use PHP or Javascript for languages. Pl...

6 days ago

1 answers
1 views
0
MAMP can't do mysqli

<?php define("HOSTNAME","localhost"); define("USERNAME","root"); define("PASSWORD","root"); define("DB_NAME","testDB"); $conn = new mysqli(HOSTNAME, USERNAME, PASSWORD, DB_NAME); if($conn->conne...

6 days ago

1 answers
0 views
0
Android PHP and HTTP Communications

I am currently communicating with Android by uploading PHP files on the web server.ANDROID <-> PHP <-> MYSQLWhen there is a table 'user_record' in the DB that stores members' recordsThere ...

6 days ago

1 answers
1 views
0
Ask the hashcode site about hashtag(#).

I have a question because there is a confusion about the understanding of the hashtag itself and how to implement it.When viewed on various webs, there is a function that uses hashtags to attach to ar...

6 days ago
- 1 - »

© 2022 pinfo. All rights reserved.