Jump to content

phpmady

Members
  • Posts

    205
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

phpmady's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. I need to write a curl functionality, where the datas are stored in the table format. I need to write a function to read all the <tr> and its <td> <td> contains text and link like the below. could anyone help me how to read a text along with the link. for example: <table> <tr> <td> <div> <a href="link.html">td data </a><div></</td> <td> <div> <a href="link.html">td data </a><div></</td> </tr> <tr> <td> <div> <a href="link.html">td data </a><div></</td> <td> <div> <a href="link.html">td data </a><div></</td> </tr> </table>
  2. Hi, I tried to create a array, with the following php code, but am failed whats wrong am doing here? $query = "SELECT user_id,f_name FROM user_profile"; $result = mysql_query($query); echo $result; while ($row = mysql_fetch_array($result)) { $results['f_name'] = $row['user_id'] ; }
  3. Hi, I need to create a array like below, from the table: $items = array( "Great <em>Bittern</em>"=>"1", "Little <em>Grebe</em>"=>"2", "Little <em>Grebe</em>"=>"3", "Little <em>Grebe</em>"=>"4" ); users table has 2 columns: id name Thanks, Mubarak.A
  4. Hi, Actually one table have more records(100k), and another table have few number of records(200), thats the reason we have designed the schema. so pls help me to make ion auth for 2 diffrent groups thanks
  5. Hi friends, I have a 2 different user types : one type using the tables: gold_auth gold_user and another one with: silver_auth silver_user I assume that changes in config table like the following can do a trick for me. How to handle the user type: can i do some thing like this: if(gold) { config(gold_auth.php); } else { config(silver_auth.php); } Thanks,
  6. Thank you, more useful for me, nice to know the correct keyword mysql hierarchy Thanks
  7. Hi, I have the project where i want to get the structure like tree. My table structure: Section_Id Section_Parent Section_Name 1 0 America 2 0 China 3 1 New york 4 1 Washington 5 2 Buffalo How to retrieve the records.. I need a structure like this in a select button: America New york Buffalo Thanks,
  8. Hi, I am calling the sms service provider server with the following code $url = $urlAccount_home."?username=".$userAccount."&password=".$passAccount."&number=".$number."&sender=".$userSenderSMS."&msg=".$msg; if (!($fp =fopen($url,"r"))) echo "<br><center>خطا في الاتصال </center><br>"; $result =fread($fp,10); fclose($fp); When sending sms to 1 person no problem, but when sending sms to more than 1 person example for a group, i will poll the serve in loop... what am afraid is calling the server more than once continuously, wont affect the service?
  9. But i am geting the result like this 1970-03-02
  10. Hi guys, $T_Start_Date = "2011-10-23"; $P_Days = "30"; I tried this Its working: $T_End_Date = date('Y-m-d', strtotime("+$P_Days days"); but why am not getting this: $T_End_Date = date($T_Start_Date, strtotime("+$P_Days days")); thanks
  11. Or u can use zend encoder ioncube is little bit cheaper than zend.
  12. hi mjdamato, thank you for your knowledge transfer to me, because am the guy who dont have much knowledge about the process running in professional companies, with your guidance, i am planning to make: 1. Duration of the Package in days. 2. Amount in USD(because am going to use the service paypal) 3. Upgradation Plan: when he upgrade for example: basic to silver Basic 90 days: Gold 120 days: in middle of basic, he upgades to gold, the he will have remaining 45 days + 120 days ok, thank you friend
  13. Hi Guys, I building a system, where i have a customer table where user info is saved, and customer can choose the package like silver, gold, and platinum customer table: ID Username Password Name Address Active Now i want to make a table for choosing packages: package table: Package_ID Package_Name Package_Description Package_Duration Package_Amount Package_Active 1.Now my doubt is, whether Duration can be kept in days/month for example: 90 days or January, February, March 2.Package_Amount: what currency to be specify. Because am building a system for international users, what currency to be specify. (500 INR or 10USD) 3. what about upgrade of package: give me some ideas how to handle this. Please Help me, and i guess i have a design a table right. Thanks,
  14. Hi Guys, I building a system, where i have a customer table where user info is saved, and customer can choose the package like silver, gold, and platinum customer table: ID Username Password Name Address Active Now i want to make a table for choosing packages: package table: Package_ID Package_Name Package_Description Package_Duration Package_Amount Package_Active 1.Now my doubt is, whether Duration can be kept in days/month for example: 90 days or January, February, March 2.Package_Amount: what currency to be specify. Because am building a system for international users, what currency to be specify. (500 INR or 10USD) 3. what about upgrade of package: give me some ideas how to handle this. Please Help me, and i guess i have a design a table right. Thanks,
  15. Hi, I have a project with products gallery, with two languages arabic and english I have a table structure Product_ID Product_Name Product_Description Language_ID(arabic - 1, english-2) examples: 1- Dell show to arabic users - arabic laptop description- 1 2 - Dell shown to english users- english laptop description - 2 Now i want to update this project into shopping cart, How can i go from here , for shopping cart. Looking for really some ideas. 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.