answersLogoWhite

0


Best Answer

It is unclear what you are asking. If you want to know if you can simulate the regex ".*" behavior in MySQL, you can do so by using LIKE instead of = on the text field and using the percent sign "%" to essentially mean the same thing as .*. Something such as SELECT * FROM user WHERE username LIKE "%eri%"; would select erik, eric, erin, derik and others

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you check symbols like star dot in MySQL database using PHP?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How you can take backup of database in mysql?

It is quite easy to back up a database using dbForge Studio for MySQL. To do this, open the tool and connect to the MySQL server. In the database explorer, right-click the database you want to back up and select Backup and Restore > Database Backup. Additionally, the tool allows you to automate the backup process using Task Scheduler.


What are the advantages and disadvantages of PHP with mysql?

Ultimately PHP is a programming language and MySQL is a database language. Using PHP with MySQL is a nice combination with built-in support and the simplicity of it all. However, there aren't a lot of disadvantages of using PHP with a database, it just allows for better data organization and whatnot. There are definitely advantages and disadvantages to using a database other than MySQL (such as MongoDB or PostgreSQL).


What is the database not found error in PHP with MySQL?

It would mean the database you are trying to select in your PHP script couldn't be found, you will need to check to see if you are using the correct details.


How do you create a database using PHP?

The following are the fundamental procedures for creating a MySQL database with PHP: As demonstrated in this article, connect to the MySQL server from your PHP script. If the connection is successful, construct a database using SQL and save it in a string variable. Carry out the query. To learn more about data science please visit- Learnbay.co


How do you retrieve an image from a database using PHP?

It depends what Database you are using. I personally use MySQL so will explain how you would do it using MySQL. You would have to create the MySQL database. I would store the image URL rather than the actual image. Then call it using PHP and a MySQL query. For Example: $sql = "SELECT * FROM Images WHERE Img_Name = 'img1'"; $query = mysql_query($sql); $array = mysql_fetch_array(query); then you would call it into HTML like so:


What are some MYSQL backup methods?

Some of the methods for backups using the MYSQL method are to download programs specifically for ones needs like AutoMySQLBackup. To manually backup the database, the 'noupe' website offers information on how to do this.


How do you check the data given by the user with database values using PHP from MySQL database?

You could use the string replace attribute but you might have to use Javascript, CGI, ASP or another scripting language to do so.


How do you delete data from a MySQL database using PHP?

To delete data from your MySQL database you need to use the mysql_query() function. Please see the example below: <?php mysql_query("DELETE FROM table_name WHERE field_name = 44"); ?>


Why facebook using mysql database?

Because it works so well with PHP and it's fast.


How do you connect mysql database with php program?

You can do that using the mysql_connect() function. For example: <?php $host='localhost'; //Your Host Name Here $username='root'; //MySQL Username $pass='';//MySQL Password $dbname='codenair'; //your Database Name //Connecting Database mysql_connect($host,$username,$pass)or die('Failed to Connect'); //Selecting Database mysql_select_db($dbname)or die('Database Not Found'); echo 'Connected'; ?>


What can you use to create a database for customers in a supermarket?

Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.Any database program like Access, Oracle or MySQL, amongst many others. You could also get one specially designed by programmers using their own systems.


How do you connect to mysql using vb6?

Install the MyODBC database connector.Set up an new ODBC connection to your mysql database in Windows. (This will vary based on your version of Windows)You can use the ADODB extension in VB to connect to your ODBC connection.