PHP - Moved: Allow Only One Hyphen With A Literal String
This topic has been moved to PHP Regex.
http://www.phpfreaks.com/forums/index.php?topic=358198.0 Similar TutorialsThis topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=345658.0 This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=326004.0 I am putting title in my URL whenever a new auto generated page is generates, so if i use single word tile then it is fine but when there is more that two words in the title it shows space in every word and therefor in title too. how can i add this hyphen or any other special char to my URL so it would look like? i.e. If i use title to MY FIRST WEB PAGE.php, what should i do so i can make it like MY-FIRST-WEB-PAGE.php This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=321050.0 in my datebase I have this <iframe src="https://www.xxxxxx.com/agent.asp?id=xxxxx style="width: 545px; height: 750px;" frameborder="1"></iframe> obviously when I echo it it makes the iframe how can I get it to echo out literally what it is with the < > and all? thanks figured it out I changed the < to < in my db I have a bunch of PDF's, some of them having Uppercase first letters and some having lowercase first letters. Right now my code is alphabetizing all of the Uppercase first letters first then all of the lowercase. I want them to be mixed. $dir = "../../forms/pdf/"; foreach(glob($dir.'*.pdf') as $pdf){ $files[] = str_replace($dir, '', $pdf); } then: <select name="current_pdf" id="current_pdf"> <option value="">Please Select a PDF to replace</option> <?php foreach($files as $file) { echo "<option value=\"$file\">" . $file . "</option>"; } ?> </select> This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=351099.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=330820.0 This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=320682.0 This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=354362.0 This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=319445.0 This topic has been moved quickly to PHP Regex because I need to go to work instead of lurking phpfreaks. http://www.phpfreaks.com/forums/index.php?topic=359460.0 SQLITE has syntax like ' WHERE MATCH ( 'colname : "one two" )' //My pdo sql query $sql .= MATCH 'colname : "?" )'; $pdo->bindValue(1,$text);` But Pdo placeholders can't have quotes around them. So this does not work. I tried a million variations of the placeholder syntax "?" "" ? "" """ ? """ \" ? \" . But nothing works. Errors I get : General error: 1 near "?" | 25 column index out of range . Also for this query : MATCHÂ ( names: ? AND categoryids: ? ) , the error is: `General error: 1 unrecognized token: ":"` Would really love some help here.. Thanks Edited March 29, 2019 by requinix removing bad styling This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=345200.0 This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=322578.0 This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=342245.0 This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=321479.0 This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=327134.0 This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=353613.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=353390.0 |