Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It Free
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime
General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.
Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
PHP Script to drop tables on all/some databases with wildcards
I see there is no way in MySQL to drop tables using wildcards like 'temp_%', this simple PHP will help us do the following.
1. specify databases like 'anything%', so you check only the databases you need to.
2. specify tables like 'temp_%' , 'temp3_%' in an array so any number of temp wildcards possible.
3. loop through all databases and tables matching to drop the temp tables.
This makes it easy for you dropping many temp tables but be very careful about the wildcard, things may go completely wrong if you get the wildcard wrong.
libbatch implements typical batch process functions. These functions include common SQL operations, functions for working with temp files, logging functions (with severity, priority, colors, and verbosity), functions that work with files and directories,
This is an php/mysql/Ajax application which calls the WSDL from the National Weather Service and outputs a small 3 day forecast(temp,chance of rain,weather icons) from user input i.e. city,state or zip code. Working Model http://www.askasmartguy.com/old/