-
When the content does not appear, there is a process first?
this is the appearance that will occur when the facebook hypothetical state does not appear, and will not disappear until the content is released, and the content will be displayed. How do you do that? And he will buy it, not just a piece of film. It...
-
How do I catch notice, warning errors in php?
Notice: Undefined property: stdClass::$xxx in Applications xxx xxx xxx xxx.php on line 35
Warning: Invalid argument supplied for foreach() in Applications xxx xxx xxx xxx.php on line 35
how can I avoid errors like this in the above ? if I can, I d ...
-
Curl api request face to face, another request?.
want to check suppose I use php curl to connect http request, to the database of the opposite party and use json_decode first and then print out the json results
<?foreach ($region_get_all->regions as $key) {
echo $key->{ manager-id };
.....
-
How to strengthen and improve the seo? of articles
I use mariaDB and php to write the article system ~ just how to strengthen and improve the article seo I put meta og:. in each article. Code of the series do you have any other skills or improvements that can be improved is to make the article easier...
-
How to get the statistics of google meals?
suppose I want to catch the number of google meals how can I do it in php? I ve been thinking about it for a long time. I m almost done. do you use curl? but there are no similar codes to refer to ....
-
Function noodles do not eat outside the parameters announced?
there is a strange question suppose I declare
$self = $_SERVER[ PHP_SELF ];
then I wrote a function below
$self = $_SERVER[ PHP_SELF ];
function report(){
echo $self;
}
and then I ll do another one
report();
he will say
Undefined vari...
-
How can you add a foreach, server to a foreach to improve efficiency?
<?foreach ($restaurant_get_all->restaurants as $key) {?>
<?foreach ($region_get_all->regions as $key2) {?>
<option value="<?=@$key2->{ region-name };?>"><?=@$key2->{ region-name };...
-
How to put the value written on the face to the outside for use?
suppose I generate a value on some if faces
$name
if(xxx==xxx){
if(xxx==xxx){
if(xxx==xxx){
$name = xxx;
}
}
}
I want to add $name to the outside of if to use so what should I do?!
...
-
How does php value to js?
I introduced menu.js " on the web site.
<script type= text javascript src="js menu.js">< script>
$abc = 123 ;
<script type= text javascript src="js menu.js">< script>
but suppose I have a value on ...
-
Multiple form, all saved?
assume that there are several of these form
<form id="form<?=@$key->{ restaurant-id };?>" enctype="multipart form-data">
I asked for ajax by pressing the button (so I can complete the request at the same time witho...
-
Comparison of processing efficiency of php Array functions
when traversing an array to find a specific value, we often have many different methods, so we also hope that netizens who have done relevant tests or know the answer can help answer this question. 1, foreach traversal array to find a specific value 2,...
-
Give me a thousand statistics through curl json, how can I divide the front end?
Suppose I send me a thousand statistics directly via curl, via json , but it doesn t seem right to show a thousand dollars at a time. How to achieve a 20-year-old through php? Is there anything you can refer to? Blah, blah, blah!
not at all
function ...
-
How does php write api for others to use?
I now need to write an api is a specific account where other people can upload videos to my server , but I don t know how to start? The concept of is that the counterpart can send the film to me through enctype= "multipart form-data " . I will sen...
-
If php has only one digit, add a 0?
hypothetical
$a = 1; $b = 10;
suppose that $an is only one digit, then add 0 before it, and change 01 $b has ten digits, so do not add this can be reached by what function?
...
-
Can you only add a small number?
if (! ^ d+$ .test(pnumber))
{
$(e).val( ^ d+ .exec($(e).val()));
}
return false;
the code I wrote can only accept the number , but I think it is OK to add another condition ". " but only one point the second point can also be ...
-
How does the php string get between specific characters?
assume that there is a set of dates like this
2018-04-16T10:21:11.342Z
I want to catch
2018-04-16 10:21:11
that s fine. Don t do anything else what functions can I use to do it?
...
-
How to speed up using php curl?
I use php curl to interact with the data database of the counterparty
curl
I use the Google browser to see an item running for at least 3 seconds I wonder if it s a curl problem because I think all the others are ms units. It s not too slow....
-
How does the php environment do an error_log report? Can I monitor it on the remote phone?
would you like to discuss how to set up a reporting mechanism in the php environment? means to be able to see on the remote machine when there are any errors.
1|x-s | Error: MANAGER_ID_NOT_STRING
1|x-s | at validateRequestManagerId ( root u-server...
-
How can I get the first number of json data obtained by curl?
I use curl to ask my counterparty for json data. the data given to me by the opposite party is 20 years old how can I get the first number of the opposite party? do I want to set it up this time, or do I want to do it on the right side? ...
-
Use mariadb (mysql) php to write an api for your own use.
the api I am talking to now is a request from others. is to use curl to catch the opposite party http. I give it to the opposite party json , and then the opposite party gives back to me json, and then I show it (using mongodb, nodejs) ).
it s just t...