Jump to content

firelior

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.ifreelancer.co.il

Profile Information

  • Gender
    Not Telling

firelior's Achievements

Member

Member (2/5)

0

Reputation

  1. I didn't read it all, but I think that the problem is caused because you print all the stuff inside a post if..and when you click the link the post doesn't exist. so what you need to do is add an OR cause to the first if, with the statement "isset($_GET)"...
  2. you can use preg match. Learn about it..but here is a code: preg_match("/[sTART](.*?)[END]/",$content,$match);
  3. Hi, I want to do a Paypal Express Checkout option on my site. I want the credit card payment to go "through my site" using the Paypal Express Checkout. It says that I need API experience-if I know php well, is that enough? I tryed to read all the PDF files that they give, but there is no actual example with open source code. Has anybody done it? can anybody tell me how to do it? it says that I need to get the token, but it doesn't say how... does anybody use any other credit card method? thank you:)
  4. whats the .htaccess code? anybody knows?
  5. I have a question, Is it possible to upload stuff to a folder, and that still no-one could see it? I want to upload stuff using php, and I don't want anybody to be able to see the folder directly.. with permissions 777 it doesn't work. how do i do it? thanks
  6. Hi How is this name: SpotBid for a freelancer site?(like getafreelancer, or elance) what do you think? if you don't like it..got any other ideas? thanks
  7. thank you both I did it barands way thanks
  8. Hello, I have 2 tables: items id | cats_id | title cat id | pid | title : This is the value inside cats_id 1|11|2|5|6 those values are the ids of the cat table Now, say I have the an item from the items table How can I get all the names from cats table in one query? And how say I have a category, How can I get the number of items that belong to that category? I know that it isn't a good way of doing it. Can you tell me of a good way to do it? Thank you very much..
  9. I want to update my mysql database at a specific time. I want something to update my database at a time that I specify, but not a specific time. I want it to update lets say, every saturday. But I want to be able to set it my self in my admin panel. And not to go into the server and change it manually.. is it possible for me to set a time in which some script activates a function that I have? thanks
  10. found the problem.. i just changed the field type to varBINARY
  11. ok, [b]huggy[/b]: what it does is this: [code]Couldn't execute SELECT * FROM cars WHERE `area` LIKE '%ירושלים%': Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation 'like'[/code] and ray..it doesn't work. its still the same
  12. Hi, I have this: [code]SELECT * FROM cars WHERE `area` LIKE '%ירושלים%'[/code] which is in hebrew. now. when I enter this through the phpmyadmin I don't get any error but when I do this: [code] $sql="SELECT * FROM cars WHERE `area` LIKE '%ירושלים%'"; $result = mysql_query($sql); while ($row = mysql_fetch_object($result)) {       echo $row->id; } [/code] I get this error: [code]Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource[/code] Please help. THANKS
  13. while $row=mysql_fetch_object($result){ $rank=$row->rank; if $rank==1{ $rank=$rank."st"; } if $rank==2{ $rank=$rank."nd"; } if $rank==3{ $rank=$rank."rd"; } else{ $rank=$rank."th"; } }
×
×
  • 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.