Jump to content

salihk.

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Everything posted by salihk.

  1. Hello guys, I am not good in php so i am asking an advice. There is a website which publishes useful informations for my project but it contains lots of pages. I want to grap those informations and put my database. Datas are in different pages. I thought that I have to create a loop to search the informations from those pages. It is better to tell with an example. For exmp. I have to surf 1000 pages and in all pages i search an name and store the name and correnponding datas on my database. I am in the beginning position. First i don't know how to search a from the pages. How can i grap the page and search terms ? Thanks
  2. I don't know it should be is_int() I have been working for 12319412409 hours it can happen
  3. By the way your suggestion works properly thanks but i am confused
  4. But in order to check the function is_int() works or not i assigned the num value to a variable $num=$_REQUEST["num"] and add an integer $num=$_REQUEST["num"] +1; so it is output was correct than i put it to if(is_not($num)) die('it is integer'); it prints it is integer than change the code to if(!is_not($num)) die('it is not integer'); and the result is the same it prints again :-\
  5. Hello everyone, I have no well knowledge about php coding. I am trying to write simple php code for take some datas from mysql. My problem is whhen i try to control my values that i take from get html with get command. if(!is_int($_REQUEST["num"]) die('It is not integer'); When i put integer to num variable for example 2 it prints It is not integer. Maybe i misunderstand the "!" think. Could you help me to figure out Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.