linux1880
-
Posts
136 -
Joined
-
Last visited
Posts posted by linux1880
-
-
hi guys i am using centos 5.2, i can login mysql via shell but when i use phpmyadmin it says : #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
pls help
-
hi guys this srcipt is not redirecting url rewuest based on LAN address, do I need to add any more flag ?
<?php if ($_SERVER['REMOTE_ADDR'] == '172.16.0.0') { header ('location: http://172.16.x.x:XXXX'); exit(); } else { header ('location: http://128.10.21.2:XXXX'); } ?>
-
hi friends,
non of the mysqli code get parsed in my server while regular php-mysql codes has no problem, pls help
-
when i did rpm query i found
rpm -qa | grep php php-pdo-5.1.6-24.el5_4.5 php-cli-5.1.6-24.el5_4.5 php-ldap-5.1.6-24.el5_4.5 php-gd-5.1.6-24.el5_4.5 php-mysql-5.1.6-24.el5_4.5 php-common-5.1.6-24.el5_4.5 php-5.1.6-24.el5_4.5 [root@localhost home]#
-
Thank you, is there a guide to install mysqli in centos ?
-
well same statements work when using mysql_connect(). It's seems only mysqli is not working. Do i need to install any special module or package to run mysqli ? pls help. Thanks
-
Hello friends.
do we need to name $query and $result variable as $q1, $q2, $q3 and $r1, $r2.. when quering databse multiple times in single php page ?
I did run the queries 2 times in a php page, I could echo result from first query but not from second
-
blank page appear with this mysqli code, pls help
<?php // Load in our navigation links from the MySQL database require("abc/conn.php"); $sql = "SELECT * FROM nav"; $result = $conn->query($sql) or die(mysqli_error()); if($result){ while($row = $result->fetch_object()){ echo "<li><a href='{$row->url}' title='{$row->title}'>{$row->name}</a></li>"; } } ?>
-
hi friends what does this means ?
href="JavaScript:void(0);"
-
hello guys, what is the difference between mysql and sqlite, can i use these database and thier commands interchangeably ?
-
adding virtual host generated by readme.txt to my httpd.conf solved the problem. I am using zend server CE. Thanks all. Just posting a problem in phpfreak building up my confidence.
-
Dear freinds ,
I have installed zend frameworks in windows 7 I did hit from cmd line
zf create project quickstartbut it's created in C:\Program Files\Zend\ZendServer\share\ZendFramework\quickstart
how do i see this and test in web page ?
-
hi guys waht timezome does washington dc falls according to php manual ? http://www.php.net/manual/en/timezones.america.php
I can't see anything like ('America/Washington_dc')
pls help
-
Is there a way without using mysql database ? I will simply need to echo it on the page, I don't need to insert it in database.
any help pls.
-
actually the above code in working on my wamp server but not in the production server
-
actually i just created script but everything below this script disappear in the live site. Please help
<?php $dateTime = new DateTime("now", new DateTimeZone('Europe/Warsaw')); //echo "Warsaw" . $dateTime->format("G:i"); $dateTimeZone = new DateTimeZone('GMT'); $dateTime->setTimezone($dateTimeZone); echo "<br />"; echo "UK " . $dateTime->format("G:i"); echo " | "; $dateTimeZoneAu = new DateTimeZone('Australia/Sydney'); $dateTime->setTimezone($dateTimeZoneAu); echo "AUS(SYD) " . $dateTime->format("G:i"); ?>
-
how can i echo australia sydney time in php pls help.
-
Hi friends I cannot understand why we need the close curly braces in opening and closing php tags. pls help
<? } ?>
-
Dear friends,
when i submit coma or something like that from form it output nasty looking slash on the browser, how do i remove it please help. Thanks
-
can anyone help me on how to make a dynamic page title in php with heading tags or other html elements . Thank you
-
I want to resize image with propotion which don't loose image quality. Is there any tricks for that ? Thank you.
-
well, searched but could not find any place where he has defined those array variables. They have also used lots session variables like $_SESSION['yeah_right'], $SESSION['oh_no'] ... and blah are they need to be defoened as well or we can assigm anything on the fly ? Sorry for the stupid questions as i am new to php and this community. Thanks
-
Hi friends i am trying to add some feature in one script, I see everywhere in the script like $data_set["something"] and $another_set["another_thing"] like that, how do i actually know where in the script has this array defined ? Or is that array referring to a table with all the fields ? Or can people define such array on the fly and assume variables as they want ? Please help. Thank you.
-
How to fix large image size in php ? Some of the user posts so large image in my site that they kncok out the page layout. please help.
how to add css styles to html elements using javascript ?
in Javascript Help
Posted
hi folks
how to add css styles to html elements using javascript ? pls help
Thanks