194 Posted Topics

Member Avatar for sk8ergirl

your asking for 3 values: SID,FIRSTNAME,LASTNAME and only passing 2 back to it 'Joe','Ken' assuming sid is an auto_incrimenting field just leave it out from the insert statement INSERT INTO STUDENT (FIRSTNAME,LASTNAME) VALUES ('Joe','Ken');

Member Avatar for AndrisP
0
175
Member Avatar for patk570

print out your $_POST date what format is the date in date field or datetime field?

Member Avatar for patk570
0
1K
Member Avatar for blueguy777
Member Avatar for jstfsklh211
0
6K
Member Avatar for vtx.mg
Member Avatar for jstfsklh211

I'm trying to change user ldap passwords heres the code $ds = ldap_connect(LDAP_HOST, LDAP_PORT); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $bind = ldap_bind($ds, 'uid={admin},'.LDAP_BASEDN, '{admin password}'); $userpassword = "{SHA}" . base64_encode(sha1( '{password}', TRUE )); $userdata = array("userPassword" => $userpassword); $result = ldap_mod_replace($ds, 'uid={user},'.LDAP_BASEDN, $userdata); ldap_close($ds); `$result` returns true i can even see the …

Member Avatar for diafol
0
494
Member Avatar for miyotz

you should probalbly not be cloning the row though you should build a clean row and append it `document.createNewElement("tr")...` using allRows length `input.tabIndex=allRows.length`

Member Avatar for diafol
0
1K
Member Avatar for CaffeineCoder
Member Avatar for Jev181
Member Avatar for mbarandao
Member Avatar for Angle90

you wouldn't be able to do this with plain js you'd need to use ajax and return a json list of possible values from your external file(s) thousands in flat files sounds like a terrible idea, you might want to consider a database

Member Avatar for jeffcogswell
0
291
Member Avatar for pars99

http://www.daniweb.com/web-development/web-design-html-and-css/threads/464040/how-to-make-footer-stick-bottom-of-the-page

Member Avatar for JorgeM
0
157
Member Avatar for everton.retweets

probably your newlines aren't being escaped properly when writing or reading from/to the db

Member Avatar for Dani
0
133
Member Avatar for ikrami

you'd need to loop through the lines of the text file and starting a new record each time you find "----------------------"

Member Avatar for jstfsklh211
0
186
Member Avatar for Mohamed_26
Member Avatar for Shahbaz_2

did you enable access to xampp from the network check your httpd-xampp.conf file

Member Avatar for jstfsklh211
0
310
Member Avatar for chrisschristou

are you storing the current value outside of the function? if not you should be passing the current value to the function everytime you call it

Member Avatar for chrisschristou
0
1K
Member Avatar for klemme

@pixelsoul like it but id parse out the "[]" for cases where your outputting id numbers so group1[1] would still match group1[2]

Member Avatar for Troy III
0
149
Member Avatar for mohan@nano

no one here is going to write your code for you we will help you with bugs and sometimes thought proccess but you need to have something first

Member Avatar for jstfsklh211
0
124
Member Avatar for kevwood
Member Avatar for rpv_sen
Member Avatar for garwil

might not be the best solution but just read them into an array and update based on array position after reordering

Member Avatar for garwil
0
259
Member Avatar for Priti_P

google calendar only auto adds events from another gcalendar odds are your not doing anything wrong

Member Avatar for Priti_P
0
246
Member Avatar for kumiyare

INNER JOIN article_related_categories rc ON a.id = rc.article_id and rc.category_id = 1 then remove rc.category_id = 1 from the where

Member Avatar for jstfsklh211
0
249
Member Avatar for juslai

whats the problem? are you getting an error? wheres your insert code? no one here will write the code for you, we will help you debug it though

Member Avatar for jstfsklh211
0
663
Member Avatar for everton.retweets
Member Avatar for SPRINGHEEL

most likely your trying to use your session variable on the same page you are submitting them you need to submit them and reload before you can access them from $_SESSION

Member Avatar for jstfsklh211
0
306
Member Avatar for jstfsklh211

**Clearing up php retrieval of form variables** the basics on how to best submit and retrieve form values in php focusing on checkboxes because they seem to be the most diffucult to understand. When posting form data to another page your naming convention makes all the difference in the world …

Member Avatar for carllagerfeld
6
568
Member Avatar for Webville312
Member Avatar for jstfsklh211

I have a calendar built for course scheduling and I'm trying to have it auto book a google resoure calendar by sending an email using phpmailer with an ics attachment ics file BEGIN:VCALENDAR PRODID:-//company// Course Scheduler//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH BEGIN:VEVENT DTSTART:20130411T170000 DTEND:20130411T173000 DTSTAMP:20130410T110314Z ORGANIZER;CN=my@Email.com:MAILTO:my@Email.com UID:unique_id@email.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Test;X-NUM-GUESTS=0:MAILTO:myresource@group.calendar.google.com CREATED:20130410T110314Z DESCRIPTION: test LAST-MODIFIED:20130410T110314Z …

Member Avatar for LastMitch
0
1K
Member Avatar for raajsj
Member Avatar for dinhunzvi
Member Avatar for davy_yg

> $data = array( '1'=>array('date'=>'2013-01-16','numclicks'=>'6'), '2'=>array('date'=>'2013-01-17','numclicks'=>'9'), '3'=>array('date'=>'2013-01-18','numclicks'=>'5'), '4'=>array('date'=>'2013-01-19','numclicks'=>'12'), '5'=>array('date'=>'2013-01-20','numclicks'=>'10'), ); (replace this array with info from your query)

Member Avatar for davy_yg
0
147
Member Avatar for techyworld
Member Avatar for LastMitch
0
250
Member Avatar for Zaina jee
Member Avatar for rholdbataller
0
226
Member Avatar for PriteshP23

initial styling you can do easily through css you can change them while they have focus css can NOT detect if your input is invalid you will need to use js for that

Member Avatar for PriteshP23
0
281
Member Avatar for hwoarang69

where is your site hosted? its blocked from some shared hosting providers (godaddy) word wrap limits your line length wraps to next live after 50 words

Member Avatar for jstfsklh211
0
499
Member Avatar for Violet_82

border is from css i forget where under advance when inserting the image you can set border 0 for the image

Member Avatar for Violet_82
0
243
Member Avatar for arcticM
Member Avatar for eman neercs
Member Avatar for Violet_82
Member Avatar for jstfsklh211

A simple way for using templates in php new pages can run server side code or pretty much do anything you would normally want to do on a web page First create your template. cleary there is way more that can be done with this, I've kept it simple for …

Member Avatar for jstfsklh211
0
433
Member Avatar for Riu 2009

if your js errors out before it fails than your page would post anyway is a mesg required here? your code: $("#email") .require()

Member Avatar for jstfsklh211
0
266
Member Avatar for saadi06
Member Avatar for choconom

any time you use this syntax in a form `name="checkbox[]"` the post value in php is an array so `$_POST['checkbox']` is an array already

Member Avatar for AdelineZ
0
3K
Member Avatar for <M/>

your looking to create a fancy combobox? i make no promises to how good or not it is but its a start http://www.daniweb.com/web-development/javascript-dhtml-ajax/code/440963/combobox

Member Avatar for JorgeM
0
153
Member Avatar for nnehadixit

Are you aware that you have 3 forms on your page? 1st form for login 2nd form for checkboxes 3rd (unclosed) form that does nothing your second form <form name="forname" methode="post" action="#"> first thing you should fix is `method="post"` your action on this form `action="#"` says post back to current …

Member Avatar for nnehadixit
0
308
Member Avatar for jstfsklh211

to create a new comboBox when you post your form checkbox_name will contain the selected value $(document).ready(function() { var cb = "checkbox_name"; comboBox(document.getElementById(cb+"CB"), cb); var sel = myForm.elements[cb+"_hold"]; sel.length = 0; //add options sel.options[sel.options.length] = new Option("text", "value"); }); <div id="checkbox_name"></div>

0
369
Member Avatar for hwoarang69

to repeat and clarify a little <html><head> <!-- put all your js/css includes here then put your $(document).ready(function(){}); here --> </head><body> <!-- content goes here --> </body></html> i dont claim its the best way to do it but this check this post [Simple PHP templates](http://www.daniweb.com/web-development/php/code/432338/simple-php-templates)

Member Avatar for jstfsklh211
0
160
Member Avatar for hwoarang69
Member Avatar for jstfsklh211
0
123
Member Avatar for NardCake

The End.