Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #1K
~25.9K People Reached
Member Avatar for Tekkno

I have around 20 tables in my database. I want to count every row of every table using COUNT and get a total. I have tried doing a separate select statement for each table then using UNION but I cannot find a way to join the results to get just …

Member Avatar for Oca13th
0
188
Member Avatar for Tekkno

Hello, I have a div (#disclaimer) that has the css property of "display:none." The following jquery script is supposed to show it when the #test select option is clicked. The #quest,#comp,and #other divs are supposed to hide it again. It works fine in FF but does not work in IE. …

Member Avatar for fobos
0
236
Member Avatar for sjusts

Okay I am going to pull out my hair. I have been working on this for over 10 hours and I know someone out there can help me. I am looking to grab information from passed information [code].../testingform.php?name=Shannon&email=shannon%40resultsenterprises.com&char2=checked&ship1=CANADA&enter=1&x=61&y=32 [/code] the field I am pulling is char2=checked it will either come …

Member Avatar for sjusts
0
131
Member Avatar for Raka0

[CODE]<input type="checkbox" name="opid[]" id="<?php echo $row['opid'];?>"value="<?php echo $row['opid'];?>"value="<?php echo $_POST['opid'];?>" /> <label for = "<?php echo $row['opid'];?>"></label> <?php $opid= $_POST['opid']; $opids =""; foreach ($_POST['opid'] as $opid ) $opids.=((int)$opid)."," ; $opids=substr($opids,0,-1); $sql="DELETE FROM opentopic WHERE opid IN ($opids)"; $res = mysql_query($sql) or die(mysql_error() ) ; ?>[/CODE] Hi, I used the above …

Member Avatar for LethargicCoder
0
75
Member Avatar for Tekkno

I have a while loop and I am trying to associate a number with each line that increments by 1. I am sure this is probably something simple, I am not sure why I am struggling with it. Here is an example of that I have: [code=php] <?php $counter = …

Member Avatar for Tekkno
0
7K
Member Avatar for abrish24

Hi I'm very new into this website and to PHP. I want to make a drop down to display from my database. when i wrote the option value, a drop down is displaying in my html page however all the data comes together in one drop down. I want to …

Member Avatar for Tekkno
0
136
Member Avatar for D4n1sD

Is it possible by any way to make a .php with all the data into it a .png Example: You got a php that the data displays in the order you want and u want to like screenshot it and post it into the main .php like a fucntion createphptoimg("test.php")

Member Avatar for Tekkno
0
144
Member Avatar for tbelczak

I have way too many hours into this and I feel as though it is due to a configuration difference somewhere between the two servers. Here is code for two simple scripts: [B]TEST1.PHP[/B] [code=php] <?php session_start(); $cart[0] = array('item_number' => '12345', 'qty' => '5'); $_SESSION['cart'] = serialize($cart); header('Location: test2.php'); exit(); …

Member Avatar for tbelczak
0
176
Member Avatar for scrchrds

I am really new to php and am attempting to create a news reader on my site. I have gotten it running just fine in a page of its own, BUT, I need it to be inside a php include. How do I link different scripts and stylesheets in the …

Member Avatar for Tekkno
0
152
Member Avatar for Tekkno

[code=php] $results = mysql_query("SELECT column1, column2, date, time FROM table ORDER BY RAND() LIMIT 1"); $row_table = mysql_fetch_assoc($results); [/code] For some odd reason this does not return data, however if I change it to: [code=php] $results = mysql_query("SELECT column1, column2, date, time FROM table ORDER BY RAND() LIMIT 2"); $row_table …

Member Avatar for diafol
0
183
Member Avatar for arussell817

Hello! The Time has arrived!! After years of long waiting and painful laptops the time has come for me to finally build my own desktop. I have around 1200 price range that I would like to stay in but, I was wondering for one, suggestions of what type of hardware …

Member Avatar for Tekkno
0
148
Member Avatar for Allison2009

Hello Everyone, We have a website driven by Zen Cart. There is a serious issue, which we find it extremely difficult to resolve. The issue is - We have a Registration Page. It has so many mandatory fields, like Telephone No. and Date of Birth. But users are able to …

Member Avatar for Allison2009
0
144
Member Avatar for teajayo

Hi. I haven't been able to figure out how to allow names with apostrophes such as mine, O'Connor , to POST. Also someone tried to post a smiley face like :) and that also threw an error. I have tried adding this :: mysql_query("SET NAMES 'utf8'"); // UTF 8 support!! …

Member Avatar for teajayo
0
82
Member Avatar for Reliable

Although I've read about it it still doesn't sink in when you will need to pass in a variable. I think I know how i just don't know for what reason. If someone could provide that information for me i would appreciate it. Also, is PHP variable passing more efficient …

Member Avatar for Reliable
0
76
Member Avatar for D4n1sD

$_COOKIE['ID_my_site']; am I supposed to change ID_my_site? or $_COOKIE['Key_my_site'];

Member Avatar for diafol
-3
72
Member Avatar for D4n1sD

How can I make in php remember me box? I mean is it all about how long the session of the cookies will last or I have to do something else?

Member Avatar for Tekkno
0
82
Member Avatar for jnsnow

This is my first post to DaniWeb, and I've read the Member Rules, so I think this is the correct forum. I have created a page in PHP that collects seven items of data then displays them lower on the same page. The data columns are: name, alignment, origin, archetype, …

Member Avatar for pritaeas
1
6K
Member Avatar for softheart

Disabling of hyperlink can be done by the help of Javascript, but can anyone tell me the code, how to disable a hyperlink by the help of php coding. In the web page, it is desired that when a user signs in as an administrator, he could access the hyperlink, …

Member Avatar for surenkumar
0
3K
Member Avatar for clueless07

I am trying to print out the results of a sql query into a table i haven't finished the table yet but im already getting an error please help the error is Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\minterface.php on line 45 [code]<!DOCTYPE html PUBLIC …

Member Avatar for clueless07
0
131
Member Avatar for whiteyoh

Hi All, I have sent a GET request to a third party and it has responded with XML. I would like to know how to extract the information from that response and convert it into a standard php variable. [code] <GetGuidResult> <ErrorNumber>0</ErrorNumber> <ErrorMessage/> <Guid>40d505ba438049a68eafc9a95e7fefcf</Guid> </GetGuidResult> [/code]

Member Avatar for whiteyoh
0
83
Member Avatar for motters

hi i am doing some research into LDAP and php is there any where i can learn how to uses LDAP systems like how to fetch info from in and into my php form and LDAP login systems like tutorial videos pages thanks any help is great [B]i do not …

Member Avatar for Tekkno
0
74
Member Avatar for MikeB63

I have replaced a Windows XP PC (SP2) on my office network with an new pc running Windows XP SP3. The network is connected via a NetGear 16 port GB Switch with each pc assigned a static IP address. The new PC connects to all my printers , the internet …

Member Avatar for Tekkno
0
172
Member Avatar for avilporwal

Hello, I am stucked while making code in PHP. I actually want to make a table in database with name as username (of the respective user). (table should be formed only when no such table exisit before) I used session to get username and every thing is right except formation …

Member Avatar for diafol
0
86
Member Avatar for Tekkno

I have the following AJAX script: [code=javascript] function callAHAH(url, pageElement, errorMessage) { document.getElementById(pageElement).innerHTML; try { req = new XMLHttpRequest(); /* e.g. Firefox */ } catch(e) { try { req = new ActiveXObject("Msxml2.XMLHTTP"); /* some versions IE */ } catch (e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); /* some versions …

Member Avatar for Fungus1487
0
149
Member Avatar for dirtyhiphophead

Hello, I run a website and just today, it gave me an error: 403 forbidden error and i was told it was the permission of some of the directories at ftp. I used my filezilla to reset the permision to 755 for directories but still i'm getting the errors.Also, I …

Member Avatar for cwarn23
0
64
Member Avatar for drewpark88

Thought this code would work, it is not sending me an email upon approval. What can the problem be, I tried making changes suggested but it did not work: [CODE] if($response->IsApproved()) { $to = 'donation@valleyanimal.org'; $subject = 'New Donation'; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $headers = …

Member Avatar for drewpark88
0
90
Member Avatar for Tekkno

Hello All, I had not been able to reliably send emails with the PHP mail function. So I decided I would use the PEAR extension instead, but I am having the same issue. I am not connecting to an SMTP server. The issue appears to be that I cannot send …

Member Avatar for Tekkno
0
86
Member Avatar for drewpark88

Not sure what I am doing wrong. I have an HTML email I want to automatically be sent out on approval of a payment. It is not working so can someone please look over my code and if you have any input that would be great! Thank you! [CODE] if($response->IsApproved()) …

Member Avatar for drewpark88
0
167
Member Avatar for Tekkno

I have a script that generates random data into an array then uses a while loop to display the data. I have a separate script that takes a row from that array and inserts it into a MySQL database. The problem I am having, is that every time the page …

Member Avatar for Tekkno
0
112
Member Avatar for MDanz

I have a keyword "car" in the sentence. one two three four five six seven [B]car[/B] eight nine ten eleven twelve thirteen fourteen fifteen. i'd like it to echo three four five six seven [B]car[/B] eight nine ten eleven twelve because 5 words before and 5 words after, including car. …

Member Avatar for MDanz
0
85