Jump to content

shaymol

Members
  • Posts

    31
  • Joined

  • Last visited

    Never

About shaymol

  • Birthday 10/19/1984

Contact Methods

  • Website URL
    http://www.shaymol.wordpress.com
  • Yahoo
    shaymol_kuet

Profile Information

  • Gender
    Male
  • Location
    Dhaka

shaymol's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi You can try with back-tick(`) or shell_exec(). Ex: `php spider.php -u http://www.domainname.com -r`; or shell_exec("php spider.php -u http://www.domainname.com -r");
  2. Hi mate You can try with scandir method which second parameter is used for sorting order. For more info you can visit this page : http://www.php.net/manual/en/function.scandir.php. Thanks ShaymoL
  3. Thanks again fenway i can work with innodb now thanks again shaymol
  4. Hi john please check the following code that you wrote $result = mysql_query ("SELECT * FROM bnetupdates WHERE title = '$word' LIMIT $from, $max_results"); here in your where clause you are trying to show those records whose title = '$word' but $word is a Super Global Variable . So you have to use $_GET['word'] in stead of $word. $result = mysql_query ("SELECT * FROM bnetupdates WHERE title = '$_GET['word']' LIMIT $from, $max_results"); I think it would be work for you Thanks ShaymoL
  5. Hi mates according to your code i have a question to u that is can you connect to your mysql server from command promt using those credentials (userName : jlgray48 pswd: peanut99) if you can connect with those credentials then you can also connect from the php but as you cannot connect with the credentials you can try with your mysql root user Thanks ShaymoL
  6. Hi mates You can try with the following method for setOpacity function setOpacity( element, alpha ) { var style = element.style; if( style.MozOpacity != undefined ) { //Moz and older style.MozOpacity = alpha; } else if( style.filter != undefined ) { //IE style.filter = "alpha(opacity=0)"; element.filters.alpha.opacity = ( alpha * 100 ); } else if( style.opacity != undefined ) { //Opera style.opacity = alpha; } } Thanks ShaymoL
  7. Hi guys i have MySQL server version 5.0.18 where InnoDB engine is disabled how can i make it enable permanently. please help me Thanks ShaymoL
  8. hi craig try with this modifed line $query="SELECT * FROM PersonalTrainers WHERE Postcode = ($_POST['Postcode']) AND Age = ($_POST['Age'])"; Thanks ShaymoL
  9. Hi i want to know about the benifits of using index key for a table can anyone give me an example as how index is used in searching i use index for all my tables but i dont know whats the benifit for using it please give me clear idea about index. Thanks ShaymoL
  10. Hi jay you are using $_POST[table_name] instead of $_POST['var_name'] try to fix all $_POST variable with quote. i think it should work Thanks ShaymoL
  11. hi jlgray it would be better if you show your modified code again. thanks ShaymoL
  12. Hi john in your code you are using mysql_affected_rows() after each select query . but accoriding to php manual mysql_affected_rows() returns the number of rows affected by the last INSERT, UPDATE or DELETE. mysql_affected_rows() does not work with SELECT statements; only on statements which modify records. To retrieve the number of rows returned by a SELECT, use mysql_num_rows() Thanks ShaymoL
  13. Hi friend You your code mysql_connect method needs 3 param as hostname, username n password. You can try with the following code . i think it must works. $link = mysql_connect("localhost", "mysql_user", "mysql_password"); mysql_select_db("database", $link); $result = mysql_query("create table yahoo(id int, name char(10), primary key(id))", $link); if($result) { echo 'Successfully created'; } else { echo 'Could not create '; }
  14. Hi mates Thanks a lot for your guideline . its working now Thanks again . Regards ShaymoL
×
×
  • 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.