Jump to content

janim

Members
  • Posts

    108
  • Joined

  • Last visited

Everything posted by janim

  1. janim

    select help

    thanks all for help i have made simple way to deal with that while($rowd = mysql_fetch_array($sqld)){ //$row_users = $rowd['users']; $users_row = explode(",",$row_users); if($rowd['users'] !== ''){ if(!in_array($user,$users_row)){ continue; } } echo "whatever"; }
  2. janim

    select help

    Hi all i'm having problem make select statement, i'm sure it just simple but i just cant find the solution let's say i have this table : downs: id, name, users . users is user id who can view this file and it's in php session sql = select * from downs: res = id name users --------------------- 1 file 1,2,4 2 anot 5,2,4 3 rgrg 1,7,2,6 so i want to do select statement: select * from downs where {$user_id} in users which means that logged in user is in that row thanks for any help
  3. janim

    read pdf

    Hi All, any one have an idea how to read PDF files using php let's say i'll upload pdf file, then i need to see what text inside this file, and search it ... etc thanks for any suggestion !
  4. why not php.ini ??
  5. Hi guys how can i know what attributes has been modified after mysql_query ? let's say i have this table id name email password 1 aa @ **** 2 bb @ **** 3 cc @ **** 4 dd @ **** and i updated it : mysql_query("update table set name = '$name',email='$mail',password='$pas' where id='2'"); so how can i know wich attributes has been modified ? i.e which ones has been changed ? ,let's suppose the new data is : cc ,@,**** . so just name has been changed ! see? how can i know this dynamically mysql_affected_rows return the number of fields and so on mysql_info(); any comment are welcome , thanks
  6. sqlnoob i can\t figure out what is the problem exactly is it that your form dosent submitted at all or it submits but generate error ??
  7. i think AJAX is best solution here
  8. try this : <a href=\"surf.php\">Surf Ads</a> - <a href=\"register.php?r={$elref}\">Register</a> i'm using this way most the time
  9. this photo album need alot of work this is not easy as you think it need JS too but the idea is store all of your images in table this table consist of [ ID NAME ] id is auto increment and name is the name of the image from the server with the path $sql = select * from table order by ID desc while ($row = mysql_fetch_array($sql) ){ echo "<a href=\"popup.php?id=$row[id]\"><img src=\"_path_$row[name]\" /></a>"; } i hope this helps
  10. do you know anything about php and webdesign or you want someone to do it ??
  11. i think you need to call this file like this first : $open = fopen($file,"a+"); $str = explode("\n",$open); if i'm right your last like is $str[4] then rewrite the same file but change $str[4] to new value if that what you mean
  12. hi guys i wanna thank every one who tried to help here i solved this pb i just type this at the top of the page header("Content-Type : text/html "); in fact all the page was missed up php there html there js under :o :'( but after organizing the page and sending this header every thing went good thanks anyway guys
  13. i did that everything is ok it opens in firefox fine i did that too same pb but the deference that it's prompet to save unknown file called page.php no it's just with this page <a href="page.php?id=<?=$row[id]?>">click here</a> all other pages work fine i did this too but :-\ :-\ nothing i just downloaded IE7 but it's the same too is this on my own browser or all the ie's ?? thank you guys for helping
  14. i did that i changed the page name too but nothing i tried to send header('content-Type : text/html ') but nothing too how can i tell this fu*** browser that it's just page thanks all for helping
  15. i'm doing this in localhost and i tried this : <a href=" http://localhost/website1/page.php?id=<?=$row[id]?>">ddddd</a> but nothing this IE gonna kill me, i hate this shit
  16. my editor is dreamweaver 8 !! how can i know if is it plugs into IE ?? i changed the (open with ) from folder options in win explorer i changed the php editor into notepad but i still have the same pb
  17. everything works fine it works ok in firefox and it was working good yesterday but i don't know what's happend now why ie deal with like a file i'm using ajax to generate these links is this the pb ?
  18. it's the same :'(
  19. what is buttom ? do you mean info bar ? it type the link like it should be
  20. ob_start() dosent solve the proplem all the time you need to use javascript in redirection the header("location : dddddd") must be in the first rows i think so java script is better
  21. hi guys why i'm getting this error ?? when i click the link in ie6 it's prompt me with save as this page not executing it but it works fine in firefox here how i generate the link : <a href="page.php?id=<?=$row[id]?>">Click here</a> thanks
  22. ah ok ajax for games !! @so what about showing the same video in same page at same time ???
  23. i don't know what is RDS is it helps here ? look you know gamezer.com ?? it's where people play together at the same time every two users can play toghether and chatting in private room it's made by flash i don't know why maybe because the same game runs at flash ! that's what i'm talking about !
  24. thank you ken2k7 for your prompt replay i don't know if you got what i'm talking about ! let's say : two visitors can see the same page as in same screen ! it's like shareitnow.com see the demo i know some ajax but i don't know how ajax can make it
  25. hi all i'm wondering how can i make page that can be viewed by two users at the same time i mean one of this users is server and the other is the client when the server (user) change anything ,=> the client(user) can see this change it's like remote desktop in windows ! when the (server user) type in textarea the other user will see this movement i know this is two hard but i don't know where to start ! any suggestion or it's not possible to do it ? thanks for all
×
×
  • 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.