39,316 Topics

Member Avatar for
Member Avatar for centralpulse

Hi there, I have built a simple CMS that is generally working well, the issue I'm having is with building dynamic navigation. On the site the content for the individual pages is fine but getting the menu data and creating the menus is causing problems. I have 2 possible structures …

Member Avatar for centralpulse
0
180
Member Avatar for cali_dotcom

Hi all, i need a little help with some code that should display a gif image while a page loads. i have a php page with a link that users can click and it should load a page via ajax as an overlay over the current page. the problem is …

0
75
Member Avatar for nick3592

hi i was wondering how i can show my site bar on a external link my site sends a user to. A good example of this is how digg shows a bar at the top after being sent to a different site. Please let me know steps on how i …

Member Avatar for phpl0v3r
0
81
Member Avatar for panhwer

I want to make a dictionary..If user enter first character in text box it give suggestion words like when we write in google search box it give us suggestions. so can any one help me to do this.. I did little bit in AJAX but still i am not successed …

Member Avatar for Devoted Hosting
0
82
Member Avatar for srdva59

hi, i have created this class: class mostest extends mosDBTable { var $id=null; var $id_cliente = null; var $nome_cliente = null; var $data = null; var $hora = null; now i want creat a function to check if all variables is created in a table. for example i want return …

Member Avatar for navdeep7489
0
82
Member Avatar for johnnycho

I'm new to using Temporary Tables in PHP/MySQL. I wrote a very simple test script just to see if it would work, but the SELECT query is giving me a [B]mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given[/B] error on the last line, and I'm not sure why. $dbc …

Member Avatar for johnnycho
0
2K
Member Avatar for MackAttack30

Hi community, I have a PHP page with a table in it that I want to export to Excel. I have seen multiple ways to export an entire PHP page to excel, but I only want to export the table within my page. Is there anyway to specify what content …

Member Avatar for MackAttack30
0
65
Member Avatar for mayanktalwar

[CODE]<a href=\".\/(viewtopic.php\?f=15&amp;t=[0-9]+)\" class=\"topictitle\">([#\w\s_\-!$%&()?.,'\":;{}\/\\|’=\[\]+\–\™ ]+)<\/a>[/CODE] i have this regex ina ction when i use it in software like regex buddy its ok but when i use it in php it just dont work it .throw no error at all..but it produce zero result. it is made to match this [CODE]<a href="./viewtopic.php?f=15&amp;t=119871" …

Member Avatar for d5e5
0
255
Member Avatar for davidrooker

I need to make a form with a few options could be radio or drop down, ex a, b, and c.. and when one is selected I would have a if command that would give you another set of options like if option "a" is selected then in the same …

Member Avatar for phpl0v3r
0
162
Member Avatar for dan_ord

Hi there, I've found quite a nice flash / javascript / php based multiple image uploader called FancyUpload. [URL="http://digitarald.de/project/fancyupload/"]http://digitarald.de/project/fancyupload/[/URL] I've got it working fine, however i need to be able to insert the data into a database Below is my database structure: photo_ref event_ref photo_thumb heat Basically i want to …

Member Avatar for kyawswarthant
1
195
Member Avatar for meo_spt

im testing a sendmail function in PHP. The first, i used mail() function, this is my code: [CODE] <?php $to="meo.spt@gmail.com"; $subject="This is test mail"; $message="Hello, this is test mail from Viet May Cor. \n Best regards!"; $from="meo_spt@yahoo.com"; $headers="From: $from"; mail($to,$subject,$message,$headers); ?> [/CODE] and i got an error: [COLOR="Green"]"Warning: mail() [function.mail]: …

Member Avatar for meo_spt
0
772
Member Avatar for tunde011

Thanks, but it is not what i was expecting. I I am getting close but i still have a problem let's say [CODE] $reminder ="300"; // 5 minutes * 60 seconds (to convert to seconds) $timefromreminder = date('h:i:s', strtotime("-$reminder seconds")); // this will give 5 minutes minus the current time …

Member Avatar for vibhaJ
0
123
Member Avatar for Ajuddy

what kind of error is this? my page was just running fine. i did not change anything neither the location of the requested file. Warning: require_once(../php/main.php) [function.require-once]: failed to open stream: No such file or directory in.................... line 7 Fatal error: require_once() [function.require]: Failed opening required '../php/main.php' (include_path='.;C:\php5\pear') in..........................line 7.

Member Avatar for almostbob
0
142
Member Avatar for doctorphp

Hi All. I am currently designing a photo sharing website. I need to make a script that deletes the image from the folder it is stored in and also from the database. I have done the database bit but i cannot work out the deleting from the folder bit. Any …

Member Avatar for kumiyare
0
125
Member Avatar for Smudly

I am currently working on an admin only page that allows the admin to view all of the websites members. On this page, the admin can edit any of the information for the users (and change it in the database), delete the users, ban the users, and sort the users …

Member Avatar for diafol
0
76
Member Avatar for tunde011

I am working on a code which will send users reminders like 10 minutes,2 hours, a day, one week before their event is due. I will like to get the datetime after the reminder has been removed from the startdate [CODE] $startdate = "2010-07-10 01:00:00"; // date chosen by the …

Member Avatar for chrishea
0
754
Member Avatar for aytul

Hi aytul here i m having a problem with my php script actually i need to incorporate variable key lengths in my encryption technique but the following code give me the same keylength in all the cases plz tellme where to change in my script to get variable key length. …

0
42
Member Avatar for Barrett1

[CODE]<?PHP $results = mysql_query("SELECT * FROM messages, comments WHERE messages.user_on='$user2' AND comments.msg_id_fk = messages.msg_id ORDER BY messages.msg_id, comments.com_id DESC") or die(mysql_error()); ?>[/CODE]

Member Avatar for Stylish
0
174
Member Avatar for Squit

hello, can somebody tell me why when i use a link on <form action="http://www.mysite.com/login.php" method="POST"> the login script won't work :( first i used only action="login.php" but now i need to use the link because i want other login forms on diferent pages (directory) like [url]http://www.mysite.com/news/[/url] and i can't put …

Member Avatar for almostbob
0
216
Member Avatar for keval_hack

I have data.sql file and there is 151262 insert statement in SQL file. but while i try to IMPORT it in MYSQL database this give me following error. Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\phpmyadmin\libraries\import\sql.php on line 111 Pls give some solution for this Problem. -keval

Member Avatar for tesuji
0
2K
Member Avatar for EvolutionFallen

Hey all, I'm having a problem with my WordPress contact form. It is a script I edited from a tutorial I found, and it should be working right. I have a jQuery script that is supposed to help validate it and process it without page refresh. The problem is that …

Member Avatar for EvolutionFallen
0
190
Member Avatar for rajeesh_rsn

hi friends i made a web application using php and working fine. and i also developed the same site for mobile also. For that i made it as imageless and optimised. and i uploaded in a folder. now i just want to divert user who is using mobile to mobile …

Member Avatar for chrishea
0
119
Member Avatar for ilyas_varol

Hi, I want to create a php code to see that on screen but there is a problem about `:` how can I characterize it on php code? Thanks

0
123
Member Avatar for Justin81

All, I've recently installed Apache version 2.2, MySql version 5.1, and PHP version 5.2.13 and am using Windows as my OS. I've gotten PHP to work on the Apache server, and MySql is working properly on its own. However, when I try to connect to a mysql database, I get …

Member Avatar for Justin81
0
219
Member Avatar for aosoro

Hi I am trying to print out the output from linux command in php. from the command line i am able to view the output, but when i run it from a browser there is no out put. anyone who can assist? [CODE] $ex1="ssh myname@server tail -10 /mnt/data/stat/status-rx.log"; $output1=`$ex1`; echo …

Member Avatar for omol
0
84
Member Avatar for gunbuster363

This page use javascript to be the login button, I don't know how to deal with it. <ul class="list all"><li class="item item-1 item-odd"><a class="thumbnail" href="http://www.xanga.com" title="Xanga.com - The Blogging Community"><img src="http://s.xanga.com/images/mainlogo.gif" alt="Xanga.com - The Blogging Community" /></a><div class="details"><div class="itembody"><a href="http://www.xanga.com/register.aspx"><strong>What is Xanga?</strong> Xanga is a community where you can start …

Member Avatar for vibhaJ
0
95
Member Avatar for Kadafiz

[CODE] <select name="item2" id="item2" onchange="getPrice(this.id)" /> <option value="">Select medicine</option> <?php $sql = "SELECT ItemID, ItemName, Price FROM itemavail ORDER BY ItemName"; $rs = mysql_query($sql); while($row = mysql_fetch_array($rs)) { echo "<option value=\"".$row['Price']."\">".$row['ItemName']."</option> \n "; } ?> </select>[/CODE] this is selection menu to get item name. Here i need to get Item …

Member Avatar for vibhaJ
0
123
Member Avatar for racertim

I have thousands of pieces of HTML code that I want to take a screen shot of and save as an image. I'm no programming genius, but I think I can make this happen. I have a dedicated Linux server running Ubuntu with PHP5. I've found tons of links about …

Member Avatar for pritaeas
0
424
Member Avatar for ianmcd78

Hi, I currently have a 1 page site where i am trying to store a session variable and then call it into various other pages that are included when different links are chosen. I currently have the code passing the variable to the first included page but it does not …

Member Avatar for rajarajan2017
0
85
Member Avatar for rahulrulez

Hey guys.. I'm doing my engineering and this time, I've to develop a website as a mini project. I'm thinking to build a project on Image and File hosting and sharing system using PHP and MySQL. What basic things do I need to learn and can I get any 'sample' …

Member Avatar for rajarajan2017
0
56

The End.