15 Discussion / Question Topics

Remove Filter
Member Avatar for lyrico

Hi to All, Can anyone show me a sample alarm script using php or javascript? The alarm was base on the record at the database. I mean, for example I have records that have overdue, the user is the one who state the overdue. For example, the user input his …

Member Avatar for diafol
0
764
Member Avatar for lyrico

Hi all, Can anyone help me or give me an idea on how export data from mysql into multiple excel sheet using php? Below is the code I used to export data from mysql in a single excel sheet. thanks in advance [code] <?php $filename = 'filename.csv'; include 'connection.php'; $date …

Member Avatar for whiteyoh
0
301
Member Avatar for lyrico

Hello Guys, Can anyone help me regarding this search engine I want to implement on my script? Let's say i have 5 files (file11.txt, file12.txt, file13.txt, file14.txt and file15.txt) on my folder named FILES. Now i want to write script that when i search for a particular words, it will …

Member Avatar for pritaeas
0
85
Member Avatar for lyrico

Hi to all, Can anyone help me to show the code how to save multiple data into mysql via PHP? Thanks in advance. Here's some code [code] <?php echo "<form action='savetoanothertable.php' method='post'>"; $query = mysql_query("SELECT * FROM tbl_student"); while($result = mysql_fetch_array($query) { echo "<input type='text' name='studname' value='$result[studentname]'>"; echo "<input type='text' …

Member Avatar for lyrico
0
248
Member Avatar for lyrico

Hello Guys. Is there anyone here who can help me how to add shadow in div (browser is IE8). Thanks. This Code doesn't work. [code] </style type='text/css'> .main_div { width:100; height:100; -webkit-box-shadow: #111 0 -2px 6px; -moz-box-shadow: #111 0 -2px 6px; box-shadow: #111 0 -2px 6px; } </style> <div class='main_div'> …

Member Avatar for Dandello
0
94
Member Avatar for lyrico

Hello Guys, Can anyone help me to get time difference in PHP? For example: [code] <?php $Start = "09:18 AM"; $End = "04:10 PM"; $diff = ???? [/code] Can anyone show the code for $diff? thanks in advance and more power.

Member Avatar for Stefano Mtangoo
0
113
Member Avatar for lyrico

Hi to All, Is this code can be done with link <a hef=''>? [code] <?php echo "<form action='page.php' method='post'>"; echo "<input type='submit' name='submit' value='Go to Page'>"; echo "</form>"; if($_POST['submit']=="Go to Page") { } ?> [/code] in the code above, once the user click the button, the page load and execute …

Member Avatar for lyrico
0
131
Member Avatar for lyrico

Can anyone clarify how I can use a sliding div animation like the one here but instead of using displaying a div on the same page, it loads a new page and then unveils the div. ie. I want to use it for my navigation links which go to different …

Member Avatar for ko ko
0
127
Member Avatar for lyrico

Hi to all, I am PHP developer and found many problems regarding cross browser issue. Here's the problem: I want a rounded div with shadow. My CSS codes works at FF but not in google chrome. Please help. Thanks in advance. Here's my code: [code] <style type='text/css'> .main{float:none;position:relative;width:980;background:white;height:500;margin:0px auto;top:10;} #shadowBox …

Member Avatar for Kraai
0
113
Member Avatar for lyrico

Hi everyone, I need some help now. Can anyone show me a script on how can shared folder (not folder on the server) open using php? I mean my server's IP is 10.10.10.1 and then some shared folder are on the IP 10.10.10.2. Now I want to access the shared …

0
74
Member Avatar for lyrico

Hi to all again, Can anyone one help me with this? The scenario goes like this. I have this PHP script: [code] <?php $to = "email_address_here"; $subject = "SAMPLE AUTOMATIC MAIL"; $body = "Hi to Every one. Please help me with this ^^,"; if (mail($to, $subject, $body)) { echo("<p>Message successfully …

Member Avatar for lyrico
0
2K
Member Avatar for lyrico

Hi again to all, Can anyone know how to do this? [code] <?php // let say the time now is 06:00 PM $time = Date('h:i A'); $time1 = strftime('$time'); // I know it is wrong coz the output of this code is $time only. I just include this for you …

Member Avatar for lyrico
0
113
Member Avatar for lyrico

Hi to all. Can anyone help me with this? I have PHP script the save record. But I want to have time limit in saving the record. When the local time is 4:00 PM, the user can no longer save their record. Please help. Here's my code; if($_POST['submit']=="Save") { $name …

Member Avatar for lyrico
0
189
Member Avatar for lyrico

Hi to all, Can anyone show me a sample php code on how to get the client's Mother Board Serial Number? Thanks.

Member Avatar for ddggttff3
0
81
Member Avatar for lyrico

Hi every one, Can anyone help me on the problem? The scenario goes like this. I have lots of files (.pdf, .doc, and .xls) stored on my sever. I want the user to access the files. I mean, they can open it for some review purposes but I don't want …

Member Avatar for lyrico
0
84

The End.