Jump to content

max_w1

Members
  • Posts

    122
  • Joined

  • Last visited

Everything posted by max_w1

  1. hi i have a code that gets images form database and displays it on the page, but my problem is with the images which are not been displayed in a pattern _______________________ pattern i am getting now is _______________________ |image1| |image2| |image3| _______________________ Pattern i want is _______________________ |image1| |image2| |image3| |image4| |image5| |image6| |image8| |image9| |image10| pleeeeeese help me, i am in a great problem coz i have to submit the project tmrw. thankyou in advance
  2. hi friends... i am designing a game site, and i want a bar showing players strenght... so i taught of using an image which's lenght is equal to the life... but i dont know how to do it... i tried using php variables in html but didnt work. here is what i tried... <img src="images/low.GIF" height="<?php echo $lifebar;?>"> please help
  3. i am sorry for posting this topic here but i didnt find a relative forum. :?: I've been coding with PHP for a little under a year and consider myself to be a primitive but effective coder [happy with sessions, functions, database access, etc, etc]. I have just started to explore the world of PHP-GTK [ie using PHP to write Windowed applications that run without a browser using the GTK graphics libraries. Thing is, there is a total lack of decent tutorials on this subject on the web. There are the basic guides [hello world ... yawn] and then there are full-blown applications of considerable complexity. What seems to be missing is a rock-solid, from-the-ground-up tutorial written for someone who understands OO concepts, but who is not familiar in any way with the GTK environment. Does anyone know if such a tutorial exists? I'm looking for something where a beginner can start form... something like w3schools.com please suggest...
  4. Thanks kenrbnsn! it worked!!! thankyou very much!!!!!
  5. hi i want to send Variables through GET but it is displaying the variable itself. i am trying to do something like this. <?php $name = "value"; header ('Location: page.php?value=$name'); exit(); ?> but when i try to echo the value it displays "$name" Pleaseeeeeeeee help!!!!!
  6. Dont depend on dreamweaver for php programming. learn yourself. PHP is easy to learn and you'll have fun while learning it... visit this website to learn it http://w3schools.com/php/default.asp
  7. i am really upset with you guys i finally found the answer myself. what i did is: $result = mysql_query ("SELECT `abc` FROM `tablename` WHERE`username` LIKE '$username' LIMIT 0 , 30") or die(mysql_error()); $myresult = mysql_fetch_assoc($result); while($myresult = mysql_fetch_assoc($result)) { echo $myresult['f_id']; } KEEP UP THE GOOD WORK OF NOT HELPING!!!! >
  8. hi, i am trying to display recrods in a php page with a query like this: $fighter = mysql_query ("SELECT `abc` FROM `tablename` WHERE`username` LIKE '$username' LIMIT 0 , 30") or die(mysql_error()); $myfighter = mysql_fetch_assoc($fighter); echo "$myfighter['f_id']"; but it is displaying only one record how do id display all records which match this condition. can anyone tell me how to display all records at once
  9. can i use flat flie to store this temproary information insted of sql?
  10. we can do this i have a plan. the mape is divided into 12 rows and 12 colums and will be displayed in 12 diffrent rows and coloums of a table as a background. and a image is loaded according to the x and y axis. for example if ($_GET["x"] == 1 && $_GET["y"] == 2) the image will be displayed in the top second colum of the map. but what i need is how should i display other people who are online in my map?
  11. hi! i am in a process of creating a browser based rpg (role playing game), there is a map where user cam move around and see others moving around. can anybody tell me how to do that. i have a plan for the map and a single player. but i dont know how to display other people who are online and their moves. thankyou in advance...
  12. yes!!! i finally sorted out the problem; i had actually mentioned $welcome veriable below the Sql query thats why it was not reading any info...
  13. how do i use that ???? can you give me an example???
  14. i have a page which displayes the users image form the database.. i know the sql query for this buy it is not working!! can anyone help me pleeeese.... the code i am using is: $a = mysql_query ("SELECT `avatar` FROM `users` WHERE `username` = '$welcome'") or die(mysql_error()); print " $a "; but the output i am getting is:
  15. Thanks a lot rhodesa... thankyou for taking time to help me... please do let me know if i can help you in any way....
  16. if you are looking for a resizable text area this one is the best http://blog.paranoidferret.com/index.php/2007/10/02/javascript-tutorial-resizeable-textboxes/ check it out its cool!!!
  17. i suggest you use live form validator. http://www.livevalidation.com/
  18. Thankyou rhodesa !!! THANKYOU VERY MUCH!!! have solved my problem... BUY CAN U TELL ME WHERE THE PROBLEM WAS?
  19. then you must use this: header ('Location: ./');
  20. hey guys! do you know what is flex and what are its benefits?
  21. OOPS!!! i am sorry use this header: header ('Location: #'); please let me know if that was helpful...
  22. SUCESS it is displaying the session buy it is also giving the following error: what is that error for?
  23. use this header ('Location: /#');
  24. I THINK you have an error in that code because login.php is saying:
×
×
  • 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.