Jump to content

11Tami

Members
  • Posts

    329
  • Joined

  • Last visited

    Never

Everything posted by 11Tami

  1. I'm just trying to learn how to put and parse one php code inside another and still get it to work. Once I figure out how to do that I may be doing something else with it later, not sure yet. Here it is again. <?php $string = '</?php echo "test"; ?>'; echo $string; ?>
  2. Wow Glyde you found me again. Thank you. I even made it very simple and tried this: <?php $string = '</?php echo "test"; ?>'; echo $string; ?> Doesn't php let you pass one php within another?
  3. Hello, this works. <?php // current time echo date('h:i:s'); ?> I need to put it inside other php and still get it to execute. Can someone tell me how? This is what I tried but it doesn't show the time, anyone know why? Please let me know, thank you very much. <?php $string = '</?php echo date(\'h:i:s\'); ?>'; echo $string; ?>
  4. That makes sense, I'll play around with it, check your pm.
  5. I appreciate that thanks for getting me started with this. Just for fun I put an echo in this part of it.. someFunctionToExecute(echo "test"); But it wouldn't accept php code inside someFunctionToExecute(); Don't I put a function inside the paranthesis? Any idea what I'm doing wrong? Thank you very much.
  6. Thank you I appreciate that explanation. I uploaded them to take a look. They are just saying how long it took the script to execute and nothing else I take it, like you said. Is there any way to get a script to keep executing using microtime? Or does it need a page refresh to keep executing. Please let me know someone, thank you very much.
  7. I have just seen microtime used a lot so I need to find out if its something I can use. Just trying to find out more about it. Can you tell me more about the exectution time scripts your talking about and how the microtime in those can help them?
  8. Hello, regarding microtime etc. I already saw what the manual said and all it says it that it returns the unix timestamp for a particular time. I need to know some opinions on how this could work in some php functions. For instance if I set microtime on a random function, by default does it only show the particular time on page load only? Or is there a way to keep it firing.....?? Please let me know, thank you very much.
  9. So if the Unix timestamp says its 2:00pm in the afternoon how would that convert to microtime? Please somone let me know, thank you very much.
  10. Hello what is microtime supposed to do when you add it to a php function. As an example only: mt_srand((double)microtime()*100000); Please let me know, thank you very much.
  11. I have a super easy database I am trying to upload to. Can't anyone help me please tell me how to upload an sql file to my database? Thank you very much. ???
  12. Thank you. Just the usual database name, several tables and several things in the tables. Nothing special done with tables or the fields in the tables. On the fields in the tables I only adjust one column for "type." There most fields are marked as "text" one for "date" and a few for "varchar" so I can limit how many items are added to a few of the fields. "Type" is the only category for fields that I use.
  13. Thank you, Yes this is how it looks. I'll put an asterick next to the ones that have checkmarks. *Structure Add DROP TABLE Add IF NOT EXISTS *Add AUTO_INCREMENT value *Enclose table and field names with backquotes Data *Complete inserts *Extended inserts Maximal length of created query Use delayed inserts Use ignore inserts *Use hexadecimal for binary fields Export type INSERT
  14. Hi, I am learning how to export and import mysql files. It will only import them if database is brand new. How do I upload an existing database? I tried using, all different options under “Export Type” .....insert, update, and replace, but none of them would update an existing database with the same name. Please let me know what I'm doing wrong? Thank you very much.
  15. Thank you very much Trion. You were the only one that full explained it to me in detail instead of just throwing me the code without saying how to use it. It works great! I'll send you a thank you.
  16. Very nice, its only been 3 days. Some of us don't do query strings.
  17. Thanks, but I don't know what you mean. I need to know what to name the page? If I name it something like this.... code.php?show=1 I cannot upload it to my ftp account. It says it will not take the question mark in the url address. Should this be happening? <?php $show = $_GET['show']; if($show == 1){ print "text"; } ?>
  18. Hello, here is some code that if show is in a url and is equal to 1 then the following php text should appear. Problem is when I put in a url like this http://www.website.com/show=1.php nothing happens. When I use this http://www.website.com/page.php?show=1 It doesn't like that either, it says a question ? mark cannot be used in a url address. Please someone let me know the proper way to do this. To link a url to this code.....Thank you very much <?php $show = $_GET['show']; if($show == 1){ print 'text here'; } ?>
  19. OK thank you very much! I'll try to move forward from here. Thanks for sending me in certain direction!
  20. Jesirose, good to see you. Please tell me what your suggestion means, I have no idea at all. It doesn't have to completely work, I just need to be headed in the right direction. I won't know if I am going in the right direction, if I don't understand what it is. I have no clue what your code suggestion is supposed to do. Please let me know, thank a lot.
  21. Hi, someone gave me this code but never told me what the show in the php and in the link address is supposed to do? Does anybody know? Thank you very much. <?php $show = $_GET['show']; if($show == 1){ print "<a href=\'http://www.website.com/page.php?show=1\'>TEST LINK</a>\n"; } ?>
  22. Thats terrific but I still don't know what it does. Also my post is still incorrect. I am trying to make a closing A tag for an a href link. But it keeps turning it into a url tag instead. Can anyone tell me what this code and the "Show" commands are supposed to do? Thank you very much.
  23. Man it did it again! That link is supposed to say this </a> at the end of it, not the .
  24. Strange that post added a whole bunch of stuff to it that I didn't add. Let me try again. I have this in a page.php page. <?php $show = $_GET['show']; if($show == 1) {print "<a href='http://www.website.com/page.php?show=1'>test link</a>";} ?> But no text link is appearing. I guess it would help to know that your code is supposed to do? For instance is my page supposed to be named page.php?show=1? instead of just page.php .... and how does all this connect with it? Thanks a lot.
  25. Thanks very much you guys and Jesirose, I have this in a page.php page. <?php $show = $_GET['show']; if($show == 1) {print "<a href='http://www.website.com/page.php?show=1'>test link</a>";} ?> But no text link is appearing. I guess it would help to know that this is supposed to do? For instance is my page supposed to be named page.php?show=1???? instead of just page.php .... If so what does that all doing? Thanks a lot.
×
×
  • 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.