Jump to content

watthehell

Members
  • Posts

    143
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

watthehell's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks for pointing that, I will do it ...
  2. Yes the link comes like this , and when i give the user password to PHP My Admin, they can go inside CPanel while logging out through PHP MyAdmin, and from there they can access the CPanel. Can't we make like http://www.mydomain.com/_pma so that the the user directly opens the php my admin, I Searched in PHP MyAdmin docs i found nothing related to Cpanel. Any further help ??
  3. Hi all, Does anybody knows how to set up PHP MyAdmin on the server using Cpanel. I have seen other sites which has access to PHP MyAdmin like http://www.mydomain.com/_pma and it directly opens the PHP myAdmin login page. I searched the help docs in Cpanel but nothing written on that. Any help please...
  4. Yeah, it is not working in IE-6, without seeing the code it is hard to tell ... But one guess If you have <?php include("banner.php"); ?> // or whatever file name you gave Then there must be some problem in that file. Same thing happened to me too so just a guess... post your code then someone could help you out... cheers...
  5. <?php if (empty($_POST['balance'])) { $balance = $_POST['totalPymts']; } else { $balance = $_POST['balance']; } ?>
  6. Yes if you use names then there will be two results for $row['name'], so it will be hard to fetch the one you want, I guess there wont be problem with number though...
  7. Try running this code in PHP My Admin and see the result... how the fields are displayed then you can assign by no. i.e. <?php echo $row[0]; echo $row[1]; ?> like this
  8. Hi all.. Now i got to make a website which has a complicated (for me) requirement. I just want to know if this can be done or not. It goes like this : ------------------------------------------------- The website sells motor parts (online). In the front end it shows price and model of different parts found in the market. The admin enters all the stuff at the back end (price and model ) which is reflected in the front end. The complicated part what the client wants is : He wants a script which will run online (basically PHP) which will run in the background and will gather the PRICE from other (rival) websites and update in its own MySQL database. This script will run every hour and update the existing database. This has to be fully automated (as the client says). Is this possible ??? ??? ??? Then how ? Thanks a lot... for seeing
  9. printf("<td align=center><a href=ad_editmgroup.php?myid=".$grp_id.">Edit</a></td>", $myrow['grp_id']); And on other page use $yourvarname=$_REQUEST['myid'];
  10. <?php if (!empty($error)) { // this checks for is empty or not if (!$error) { //like this ?> <?php if (isset($mem_id)) { ?> html html html <? } ?>
  11. hi all i got this code <?php if ($user_sel_date>=$mycurrentdate) { if ($from>=$my_current_time) { ?> <form name="time" method="post"> <table width="300px" border="0" cellspacing="0" cellpadding="0"> <tr> Other form elements here </tr> </table> </table> </form> <? } else { echo "Time cannot be less than current time."; } else { // this is line 192 ?> <table width="300px" border="0" cellspacing="0" cellpadding="0"> <tr><Td align="center" valign="middle" class="content_heading"><br />You cannot register on the previous date...</Td> </tr></table> <? } ?> It gives an error Parse error: syntax error, unexpected T_ELSE in c:\wamp\www\pankopat\reservation.php on line 192
  12. Thanks a lot for your help... Closing this thread now..
  13. Thanks a lot Can you explain this please printf ("<option value='%02d'>%02d</option>\n", $i, $i); what is %02d for anyway thanks it worked..
  14. hi, i was doing a for.. loop which comes at 10 interval and populate a list box, can anyone guide me i write this didn't work <? for($i=10;$i<=60;$i++){?> <option value="<?=$i+9;?>"><? echo $i;?></option> <? }?> the output should be like this 00 10 20 30 40 50 any help.. plz
×
×
  • 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.