Jump to content

shreef_1990

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by shreef_1990

  1. :'( :'( :'( :'( :'( :'( :'( :'( :'( thanks
  2. i want to call javascript:tableOrdering('a.title','asc',''); on URL address bar like order means by example i have a site i enter each time i wait till it complete loading the sort desc then asc andd it is really long and heavy page i want to call that page directly asc sorted http://www.example.com/e/x.html how to call it sorted I tried http://www.example.com/e/x.html:javascript:tableOrdering('a.title','asc',''); it was an embarrassing moment LOL Thanks
  3. as i do not know i did not know about You still seem to start PHP again after having started it without ending it first..... Just in the two first lines of the code you start PHP twice and not before the end of the line you end it. This as far as I know is wrong. as for what i know Your editing is working really good Working Thanks my friend
  4. it did not work look forget it was wordpress <?php echo "get_post_meta($post->ID, 'sub', true);" ?> == return string value i stored in shreef i want to color this string value so i used if if string value was subbed print green "subbed " from the answer of if and have two other answer so i used two other else but it did not complete first start <?php did not read final ?> and so i needed to know if there are some special character i had to escape and how <?php $Shreef = <?php echo "get_post_meta($post->ID, 'sub', true);" ?> if ($Shreef=="Subbed"){ <font color="green"> <?php echo "get_post_meta($post->ID, 'sub', true);" ?> </font> } else { if ($Shreef=="Raw") <font color="red"> <?php echo "get_post_meta($post->ID, 'sub', true);" ?> </font> else { <?php echo "get_post_meta($post->ID, 'sub', true);" ?>} } ?>
  5. need help in if statement i will use it wordpress i am semi brand new in php and html i forged it with the help of c and c ++ visual basic LOL and some tutorial but did not work if any one can help making it work <?php $Shreef = <?php echo "get_post_meta($post->ID, 'sub', true);" ?> if ($Shreef=="Subbed"){ <font color="green"> <?php echo "get_post_meta($post->ID, 'sub', true);" ?> </font> } else { if ($Shreef=="Raw") <font color="red"> <?php echo "get_post_meta($post->ID, 'sub', true);" ?> </font> else { <?php echo "get_post_meta($post->ID, 'sub', true);" ?>} } ?>
×
×
  • 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.