17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for eltonpiko

hi does anybody know a good sitebuilder script pay or free to provide my client with something like [url]http://www.weebly.com/[/url] or sitereptile.i really need this any suggestion will be much appreciated.or those any body no ahosting company that offers sitereptile in the package all the hosting company offer rvsitebuilder with which …

Web Development php
Member Avatar for diafol
0
173
Member Avatar for 84hd0ns

Hi, I am trying to make a simple php photo gallery, I have this code, but the only problem is that the photos appear in a random order. How can I get the photos to appear alphabetically or numerically? [CODE]<?php if ($handle = opendir('photos/')) { while (false !== ($file = …

Web Development image php
Member Avatar for 84hd0ns
0
168
Member Avatar for GaBack

this comes when i try to open the php files. Don't know what happen here is my code: function verifyAlphaNum ($teststring) { return (eregi ("^([[:alnum:]]| - |\.| |')+$", $teststring)); } $valid = verifyAlphaNum ($username) if (!$valid){ <<<<<<<<<<<<<< here come the error $error_msg[] ="Username must be letters and number"; } thx

Web Development php
Member Avatar for GaBack
0
128
Member Avatar for vedro-compota

Greetings. Tell please function PHP5 which defines presence of the end of a line (like !feof - for the file end). Thanks in advance!)

Web Development php
Member Avatar for vedro-compota
0
87
Member Avatar for CEVGames

I have a registration page and I want to validate the e-mail address. I'm having an issue with line 14 in particular. (I used a combination of several tutorials to make this). [CODE]<?php include("db.php"); if (isset($_POST['username']) && isset($_POST['password']) && isset($_POST['email'])) { $username = mysql_real_escape_string($_POST['username']); $email = mysql_real_escape_string($_POST['email']); $result=ereg("^[^@ ]+@[^@ ]+\.[^@ …

Web Development php
Member Avatar for P0lT10n
0
200
Member Avatar for youlichika

I need a jqeury animate effection. when I click img1.jpg, img2.jpg will animate right 200px, but I have too many divs and other html elements, I tried many times, it also failed. How to write correctly? Thanks. PS: h1, the font is on the top of image, and b class="effect" …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
140
Member Avatar for mbarandao

hello: I'm working on this code that receives a variable via url and performs a mysql search for records using the value of the variable as the key word. I'm using the following code --which I'm currently using successfully on another section of my project, but experiencing problems in a …

Web Development html-css php
Member Avatar for mbarandao
0
331
Member Avatar for jaylou

Hi all, I am adding code to a SharePoint 2007 list where I want a calculated field to be a colored square based on a status column. I have all the code I need to create a colored round bullet, but I would like the bullet to be square or …

Web Development javascript sharepoint
Member Avatar for jaylou
0
104
Member Avatar for murtazamzk

[B]<html> <head> <title>New Page 11</title> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <script language="JavaScript1.2"> if (document.layers) document.captureEvents(Event.KEYPRESS) function backhome(e){ var targeturl="index.htm" if (document.layers){ if (e.which==104||e.which==72) window.location=targeturl } else if (document.all){ if (event.keyCode==104||event.keyCode==72) window.location=targeturl } } document.onkeypress=backhome </script> </head> <body> <p align="center">Hit The(H) key on your keyboard to send you to a home …

Web Development javascript
Member Avatar for hielo
0
102
Member Avatar for genzoman

Can someone please tell me why this code isn't working? I'm fiddling around with designing a site and trying to get my JS bearings down. I'm wondering why the second option isn't making the drop down list disappear. Thanks in advance! [CODE]<html> <head> </head> <script language="JavaScript"> function fncShow() { document.getElementById('box').style.visibility …

Web Development javascript
Member Avatar for genzoman
0
158
Member Avatar for jpknoob

Hi all, i decided to try and make a php shopping cart with sessions and manged to do so with the help of online turorials and references. However, i decided to try and pass over multiple items form a table, but i must have gone wrong somewhere, as some of …

Web Development mysql php
Member Avatar for jpknoob
0
78
Member Avatar for LELE7

I have an upload form where the uploaded picture is displayed. This works perfectly in Firefox. Problem is that in Internet Explorer, the image only displays when the page is refreshed. I do not want my users to have to do this, any tips? I tried just about every solution …

Web Development image php
Member Avatar for LELE7
0
126
Member Avatar for LONGWAY

Hi, i have four tables: books info autor publisher ---------- ------------- --------------- -------------- id id id id bookname type name publisher name autor_id year second name quantity publisher_id autor year country I tried with this relations but it did not work (is this normalization ok) relations: `autor.id = books.autor_id` AND …

Web Development mysql php
Member Avatar for LONGWAY
0
120
Member Avatar for facarroll

Hi. I purchased some software recently but have been unable get any helpful product support with the following problem, because it's a coding matter, I guess. The purchased software is for a PayPal subscription management system, and it relies on user verification by way of a username (email address) and …

Member Avatar for facarroll
0
410
Member Avatar for k9shark

hi, I am aware there are far easier and simpler ways to solve this problem, but due to certain circumstances, I am unable for instance to change filetypes etc.. so, here we go: using wordpress with the thesis theme, I need to append an html file(shop.html) onto a page(gardens). my …

Web Development file-system php wordpress
Member Avatar for k9shark
0
137
Member Avatar for youlichika

Hi I test my web on my localhost(winxp+ie8+mysql5.0.51a+PHP 5.2.11+Apache 2.2.13). I want to add some cron job for my php files. I select Pycron. After configuration, I add some command in crontab.txt [CODE]* * * * * "C:\Program Files\Internet Explorer\IEXPLORE.EXE" http://localhost/test/index1.php.[/CODE] It is success, it will open IEXPLORE.EXE and load …

Web Development apache php
Member Avatar for youlichika
0
351
Member Avatar for omaiaa0p

Hello Everyone, I am totally new to php, I would like to know if I can be able to use it. within my website,I am using javascript and a database. what is the relation between php and ajax. Can I use php if I am using javascript? How can I …

Web Development php
Member Avatar for omaiaa0p
0
127
Member Avatar for alanlee9898

Hi, I need help to insert multiple checkbox data into MySQL using PHP. I'm new here, any code I can refer? I have a database name called subject_name and there is only 2 column in the table which is id and subject. I would like to insert multiple checkbox data …

Web Development mysql php
Member Avatar for angelos33
0
9K
Member Avatar for CEVGames

Hi all, I am completely new to PHP and MySQL, but I need to learn it for a project my friends and I are working on. So, I found a tutorial on how to create a user registration and log in system using PHP and MySql. I am having an …

Web Development actionscript php
Member Avatar for CEVGames
0
201
Member Avatar for mbarandao

Good day all: I have an editable invoice that I have added a sales tax option with a js function doMath(). Prior to my modification with the sales tax option all worked well. the invoice which code is the following: [code] <textarea id="address" rows="6" cols="38" disabled="true">Website: Email: TaxID: </textarea > …

Web Development javascript
Member Avatar for mbarandao
0
2K
Member Avatar for gunnarflax

If i assign a value to a variable like this in PHP: [CODE] $var1 = 123; [/CODE] and then assign another value to another variable like this: [CODE] $var2 = $var1; [/CODE] Are those two variables pointing to the same value in the memory (like in Java if I'm not …

Web Development php
Member Avatar for gunnarflax
0
101
Member Avatar for coxdabd

Hi there, just a quick one (I think), a little stock on displaying PHP results in a div rather than a table. I seem to be managing to display one of the results ok but the rest are not showing, I want them all to display in their own divs. …

Web Development php
Member Avatar for teedoff
0
96
Member Avatar for veledrom

Hi, I want to re-use already estanbished DB connection but I don't know know how to do it. Please help me to modify my code below. Thanks in advance [CODE]function connectDB(){ $host = "localhost"; $uid = "root"; $psw = ""; $db = "mydb"; $hostc = @mysql_connect($host, $uid, $psw); if($hostc){ $dbc …

Web Development php
Member Avatar for veledrom
0
93
Member Avatar for Matthew N.

Hello, I have a JavaScript calculator, here is the code:[CODE]<script type="text/javascript"> var num1=prompt('Enter your first number',""); var num2=prompt('Enter your second number',""); var problem=prompt('Enter the operator you wish to use..x,X,+,-,/ are valid..',""); if (problem=="+") { alert("The anwser to your equasion is "num1+num2); } else if (problem=="-") { alert("The answer to your …

Web Development gui javascript
Member Avatar for rbsntl
0
1K
Member Avatar for choosenalpha

Hello All, I have went through my code and checked for any whitespace or blank spaces and also missing closing marks and etc. But the error message clearly states that it is initiated at line 8 of my php code. Is it my echo in the code? Can someone please …

Web Development php
Member Avatar for choosenalpha
0
252
Member Avatar for ddggttff3

Hello. I am kind of new to PHP and mysql, and I am wondering on how I would go about coding up a system that would allow me to save multiple values to one row in a mysql database, and later read each separately. I am coding up a mac …

Web Development mysql php ubuntu
Member Avatar for ddggttff3
0
157
Member Avatar for atticusr5

Hello all, I have a question that is more based off of a unique occurrence (unique for me having no real prior php knowledge). I am trying to create a webpage where a user inputs a password, and a php reads the user inputed key and then compares it to …

Web Development php
Member Avatar for atticusr5
0
135
Member Avatar for gunnarflax

I'm trying to create an object derived from the MySQLi object to easier handle database connections for my application. The thing is that I do not know how I shall be able to initalize the connection and keep it contained in the object. Let me illustrate what I mean: [CODE] …

Web Development mysql php
Member Avatar for gunnarflax
0
133
Member Avatar for benjaminFowl87

Hi, I posted this in the Computer science area but am assuming not many people use that place. I want to create a mini gocompare site, what sought of thing would i need to do to create something like this?

Web Development php
0
76
Member Avatar for showman13

OK, so I've read that it is possible to use session variables across multiple sub-domains and domains by placing the following in the .htaccess file on each of the prospective domains: php_value session.gc_maxlifetime 14400 php_value session.cookie_domain ".domain_name.com" where domain_name.com is the domain where the session was initiated. I know this …

Web Development php session
Member Avatar for showman13
0
267
Member Avatar for showman13

Good Morning. I'm hoping someone can tell me why this isn't working, or maybe if it isn't supposed to work. I've been reading on various websites that you can use variables within CSS if you don't save the style sheet as a .css, but rather as a .php and just …

Web Development html-css php
Member Avatar for showman13
0
100
Member Avatar for pikkas

hi guys, i am trying to populate a listbox the number of the current month in listbox. and i am using an onload event of the body but it doesnt works. any help please?. i am new on javascript. [CODE] function dat(){ var date=new Date(); var Month= toString(date.getMonth()+1) this.Monthlistbox.options=new Option(Month,Month,true,true); …

Web Development javascript
Member Avatar for mahavir123
0
147
Member Avatar for roachae

I'm pulling a date value (not a datetime value) from a MySQL database, but I need to subtract 30 days from that date, and not sure how to do it. I found a sample using mktime() to break up the day-month-year and subtracting 30 days from the 'day' component, but …

Web Development php
Member Avatar for hielo
0
365
Member Avatar for rolyestemonio

Hi Guys, Can anyone help me out about displaying 10 data from my database?My codes goes like this. I have 4 fields (id, local_title, local_desc, local_date ) [CODE] <?php $last_date = ""; $result = mysql_query("SELECT * FROM tbl_localnews ORDER BY local_date DESC"); while ($row = mysql_fetch_array($result)) { for($i=0; $i<10; $i++){ …

Web Development display mysql php
Member Avatar for rolyestemonio
0
174
Member Avatar for purvi12345

It involves ASP ADO for connecting to database..I'm using microsoft access table... I'm a novice to web-development field... :( I know how to make table choice and display it through VB-Script,but don't have a clear idea for display of only desirable coloums,PLZ HELP..with it's ASP-code ,I tried a LOT! ITS …

Web Development asp display microsoft-access
Member Avatar for purvi12345
0
84
Member Avatar for saideepthi.bits

[code=php] <html> <head> <title> ftp php test page</title> <?php $ftp_server = "10.209.152.220"; $ftp_user = "deepthisk"; $ftp_pass = "Hatepwd1"; // set up a connection or die $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to ".$ftp_server."\n"); // try to login if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) { echo "Connected as ".$ftp_user."@".$ftp_server."\n"; } else { echo …

Web Development apache php
Member Avatar for saideepthi.bits
0
3K
Member Avatar for whiteyoh

Hi All, Im accessing a function with paticular parameters, but my response is not recognising the parameter of the count value. If I change the variable in the COUNT part of the query to a static value it works fine, but if i use the variable name it returns "undefined …

Web Development mysql php
Member Avatar for whiteyoh
0
102
Member Avatar for mmonclair

I've been looking around online for a while and haven't been able to find a solution available with the resources at my disposal. Here's the scenario: I have an online training site I manage and do development for. We've been offering surveys to get feedback at the time that a …

Web Development coldfusion email
Member Avatar for mmonclair
0
96
Member Avatar for Waffles007

Hi, I'm having trouble finding out how to have a link pull a certain id from a single file and display that id's content within a certain div on the page. I'm trying to cut down on the amount of pages on my site by loading certain critical code into …

Web Development display php
Member Avatar for Waffles007
0
3K
Member Avatar for MysticalNomad

I have the following code that is very simple and gets information from form fields and mails it off. The issue is that when the email is received using Microsoft Outlook 2003 the message is blank and the actual message that is supposed to be there is an attached HTML …

Web Development email php
Member Avatar for MysticalNomad
0
186
Member Avatar for sanjaypandit

i want to made a form in which there is three fields. 1. product value: suppose:1500 2. number of product:2 3. then i want to show multiple of these values in third textbox without submitting form . how can i do this. help me

Web Development php
Member Avatar for hacker43.gaurav
0
107
Member Avatar for divyakrishnan

Hi... I am doing a PHP project.I had executed the project on 3 machines.For one machine it is showing a warning as follows.. [U][B]warning[/B][/U] Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. …

Web Development php
Member Avatar for divyakrishnan
0
132
Member Avatar for Geertc

Hello everybody, for my application I want to implement a email-clickcounter, next to link-clickcounter. Most links and emails (mailto:) appear on a page that gives details about a search-result from my home-made searchmodule. I have set up the counting system like this : Every link is redirected to a click.php-file. …

Web Development email php
Member Avatar for Geertc
0
158
Member Avatar for MoreBloodWine

Wasn't quite sure what to do for a title on this one, anyway... number_format(getNetDonations(date('%')) + 23.97, 2) I'm using the above to try and pull total donations ever received on my site but here's where it gets hinky. There's safety checks in the code "or so I'm told by the …

Web Development php
Member Avatar for MoreBloodWine
0
94
Member Avatar for ppohlmann

Hello Gurus, i have several forms on a page that get generated dynamicly form a database. Checking the fields etc requires an id for each form .. i have a problem with this code here. . elid is the id of the form .. the elid gets passed from the …

Web Development javascript
Member Avatar for Airshow
0
114
Member Avatar for Aventurine

Hi there, I am a PHP developer and know little of JS - in my current project I have hit a few probs as I know I need to incoporate some JS. After some help already from this community I have almost completed the JS part of one page that …

Web Development html-css javascript php xml
Member Avatar for Aventurine
0
208
Member Avatar for showman13

Good Morning All, Hopefully someone out there has a resolution to this issue. I have a form that I want to use drop down boxes for the country and state. That is no problem, I already have them. The issue comes in when someone has filled out the form, but …

Web Development php
Member Avatar for showman13
0
127
Member Avatar for itisnot_me

ok so i am running into this problem that i cant seem to fix. trying to make a dynamic query. i am grabbing variables from post data and trying to put them in the query but everytime i try to run the query it doesnt work. [CODE] $id = $_POST["id"]; …

Web Development php
Member Avatar for itisnot_me
0
268
Member Avatar for newweb

Hi, I have created a simple shopping cart using session array, selected products are stored in the table. So far I have no problem! I wish to remove (using x) individual product from the table/array, but I cannot access it. Is anyone SESSION expert who can help? Thanks in advance! …

Web Development php session
Member Avatar for newweb
0
3K
Member Avatar for debbier

I need to iterate through an array, starting with the first element, in chunks of, say, 5, then break off and do something else with the array, then go back to where I left off. I'm confused about how the array counter, using next, or current etc. would work. How …

Web Development php programming-construct
Member Avatar for debbier
0
167

The End.